cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A090649 Numbers k such that 9^k + 2 is prime.

Original entry on oeis.org

0, 1, 2, 4, 5, 7, 12, 13, 18, 49, 55, 63, 193, 247, 610, 929, 2173, 3479, 5494, 11158, 16754, 30920, 47752, 50702, 53725, 68122, 89214, 180804
Offset: 1

Views

Author

Herman H. Rosenfeld (herm3(AT)pacbell.net), Feb 02 2004

Keywords

Comments

All terms are the exact halves of the even terms in A051783. - Alexander Adamchuk, Mar 02 2008
a(29) > 2*10^5. - Robert Price, Aug 18 2014

Examples

			9^13 + 2 = 2541865828331 is prime, so 13 is a term.
		

Crossrefs

Cf. A051783 (3^k + 2 is prime), A087885 (5^k + 2 is prime).

Programs

  • Mathematica
    Do[ If[ PrimeQ[9^n + 2], Print[n]], {n, 1, 2250}] (* Robert G. Wilson v, Feb 06 2004 *)
  • PARI
    for(i=0,700,if(isprime(9^i+2),print(i)))

Extensions

More terms from mohammed bouayoun (bouyao(AT)wanadoo.fr), Feb 04 2004
Further terms from Robert G. Wilson v and Ray Chandler, Feb 06 2004
a(20) - a(22) found by Henri Lifchitz, a(23) found by Wojciech Florek. - Jason Earls, Feb 25 2008
a(24)-a(27) from A051783 by Ray Chandler, Aug 06 2011
a(28) from Robert Price, Aug 18 2014
Removal of erroneous term (97715) by Robert Price, Aug 19 2014