|
Search: id:A145199
|
|
|
| A145199 |
|
Not squarefree numbers n such that n+1 is prime. |
|
+0 1
|
|
| 4, 12, 16, 18, 28, 36, 40, 52, 60, 72, 88, 96, 100, 108, 112, 126, 136, 148, 150, 156, 162, 172, 180, 192, 196, 198, 228, 232, 240, 250, 256, 268, 270, 276, 280, 292, 306, 312, 316, 336, 348, 352, 372, 378, 388, 396, 400, 408, 420, 432, 448, 456, 460, 486, 490
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
EXAMPLE
|
4 is in the sequence because it is not squarefree and 5 is prime. [From Emeric Deutsch (deutsch(AT)duke.poly.edu), Oct 12 2008]
|
|
MAPLE
|
Contribution from Emeric Deutsch (deutsch(AT)duke.poly.edu), Oct 12 2008: (Start)
with(numtheory): a:=proc(n) if issqrfree(n)=false and isprime(n+1)=true then n else end if end proc: seq(a(n), n=1..600);
with(numtheory): a:=proc(k) if issqrfree(ithprime(k)-1)=false then ithprime(k)-1 else end if end proc: seq(a(k), k=1..110); (End)
|
|
MATHEMATICA
|
Select[Prime[Range[120]]-1, !SquareFreeQ[ # ]&] [From T. D. Noe (noe(AT)sspectra.com), Oct 06 2008]
|
|
CROSSREFS
|
Cf. A006093.
Cf. A013929, A077064.
Sequence in context: A144976 A119622 A067575 this_sequence A082420 A053362 A077770
Adjacent sequences: A145196 A145197 A145198 this_sequence A145200 A145201 A145202
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
Giovanni Teofilatto (g.teofilatto(AT)tiscalinet.it), Oct 04 2008
|
|
EXTENSIONS
|
Corrected and extended by T. D. Noe (noe(AT)sspectra.com), Emeric Deutsch (deutsch(AT)duke.poly.edu) and R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Oct 05 2008
|
|
|
Search completed in 0.002 seconds
|