

A087886


Numbers n such that 29^n + 2 is prime.


8



0, 1, 3, 63, 87, 189, 239, 605, 2099, 3667, 5029, 20025, 45285, 99167
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,3


COMMENTS



LINKS



EXAMPLE

a(1) = 1 is a member because 29^1 + 2 = 31 is prime.
29^3+2 = 24391 is prime, so 3 is in the sequence.


PROG

(PARI) for( n = 0, 239, if( isprime( 29^n +2), print( n), ))


CROSSREFS

Cf. A051783, n such that 3^n +2 is prime.


KEYWORD

nonn,more


AUTHOR



EXTENSIONS

a(8) from Mark Hudson (mrmarkhudson(AT)hotmail.com), Sep 07 2004
a(9)  a(11), corresponding to probable primes, from Ryan Propper, Jul 03 2005


STATUS

approved



