|
| |
|
|
A023341
|
|
Numbers n such that n remains prime through 5 iterations of function f(x) = 5x + 2.
|
|
0
| |
|
|
135859, 174877, 192979, 244219, 292561, 679297, 842341, 964897, 1076029, 1470241, 1990579, 2004943, 2339263, 2615707, 2625577, 2633557, 2892277, 3003787, 3201901, 3758233, 4406797, 5065861, 5157547, 5390857, 5424961, 5546173, 5875369, 7746217
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,1
|
|
|
COMMENTS
| n, 5*n+2, 25*n+12, 125*n+62, 625*n+312 and 3125*n+1562 are primes. [From Vincenzo Librandi (vincenzo.librandi(AT)tin.it), Aug 05 2010]
|
|
|
MATHEMATICA
| p5Q[n_]:=And@@PrimeQ/@NestList[5#+2&, n, 5]
Select[Prime[Range[550000]], p5Q] (* From Harvey P. Dale, Feb 17 2011 *)
|
|
|
PROG
| (MAGMA) [n: n in [1..10000000] | IsPrime(n) and IsPrime(5*n+2) and IsPrime(25*n+12) and IsPrime(125*n+62) and IsPrime(625*n+312) and IsPrime(3125*n+1562)] [From Vincenzo Librandi (vincenzo.librandi(AT)tin.it), Aug 05 2010]
|
|
|
CROSSREFS
| Sequence in context: A104440 A183734 A198166 * A172887 A191819 A015071
Adjacent sequences: A023338 A023339 A023340 * A023342 A023343 A023344
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| David W. Wilson (davidwwilson(AT)comcast.net)
|
| |
|
|