%I #32 Jun 07 2021 01:12:30
%S 0,1,2,4,5,7,12,13,18,49,55,63,193,247,610,929,2173,3479,5494,11158,
%T 16754,30920,47752,50702,53725,68122,89214,180804
%N Numbers k such that 9^k + 2 is prime.
%C All terms are the exact halves of the even terms in A051783. - _Alexander Adamchuk_, Mar 02 2008
%C a(29) > 2*10^5. - _Robert Price_, Aug 18 2014
%H Henri Lifchitz and Renaud Lifchitz, <a href="http://www.primenumbers.net/prptop/searchform.php?form=3%5En%2B2&action=Search">PRP Records</a>.
%e 9^13 + 2 = 2541865828331 is prime, so 13 is a term.
%t Do[ If[ PrimeQ[9^n + 2], Print[n]], {n, 1, 2250}] (* _Robert G. Wilson v_, Feb 06 2004 *)
%o (PARI) for(i=0,700,if(isprime(9^i+2),print(i)))
%Y Cf. A051783 (3^k + 2 is prime), A087885 (5^k + 2 is prime).
%K nonn,more,hard
%O 1,3
%A Herman H. Rosenfeld (herm3(AT)pacbell.net), Feb 02 2004
%E More terms from mohammed bouayoun (bouyao(AT)wanadoo.fr), Feb 04 2004
%E Further terms from _Robert G. Wilson v_ and _Ray Chandler_, Feb 06 2004
%E a(20) - a(22) found by _Henri Lifchitz_, a(23) found by Wojciech Florek. - _Jason Earls_, Feb 25 2008
%E a(24)-a(27) from A051783 by _Ray Chandler_, Aug 06 2011
%E a(28) from _Robert Price_, Aug 18 2014
%E Removal of erroneous term (97715) by _Robert Price_, Aug 19 2014