%I #24 Mar 17 2015 02:16:34
%S 0,1,3,63,87,189,239,605,2099,3667,5029,20025,45285,99167
%N Numbers n such that 29^n + 2 is prime.
%C After 0, all terms are odd. [_Bruno Berselli_, Oct 02 2014]
%H Henri & Renaud Lifchitz, <a href="http://www.primenumbers.net/prptop/searchform.php?form=29%5En%2B2&action=Search">PRP Records</a>.
%e a(1) = 1 is a member because 29^1 + 2 = 31 is prime.
%e 29^3+2 = 24391 is prime, so 3 is in the sequence.
%o (PARI) for( n = 0,239, if( isprime( 29^n +2), print( n), ))
%Y Cf. A051783, n such that 3^n +2 is prime.
%Y Cf. A087885, 5^n +2 is prime.
%K nonn,more
%O 1,3
%A _Donald S. McDonald_, Oct 13 2003
%E a(8) from Mark Hudson (mrmarkhudson(AT)hotmail.com), Sep 07 2004
%E a(9) - a(11), corresponding to probable primes, from _Ryan Propper_, Jul 03 2005
%E Edited by _T. D. Noe_, Oct 30 2008
%E a(12) from _Ray Chandler_, Aug 01 2011
%E a(13) from _Ray Chandler_, Aug 02 2011
%E a(14) from _Ray Chandler_, Aug 08 2011