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.

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

Original entry on oeis.org

0, 1, 3, 63, 87, 189, 239, 605, 2099, 3667, 5029, 20025, 45285, 99167
Offset: 1

Views

Author

Donald S. McDonald, Oct 13 2003

Keywords

Comments

After 0, all terms are odd. [Bruno Berselli, Oct 02 2014]

Examples

			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.
		

Crossrefs

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

Programs

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

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
Edited by T. D. Noe, Oct 30 2008
a(12) from Ray Chandler, Aug 01 2011
a(13) from Ray Chandler, Aug 02 2011
a(14) from Ray Chandler, Aug 08 2011