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.

A138048 Numbers k such that 15^k + 2 is prime.

Original entry on oeis.org

0, 1, 2, 4, 5, 10, 11, 16, 20, 52, 75, 106, 112, 132, 371, 3264, 3424, 5477, 7516, 10365, 44557, 150706
Offset: 1

Views

Author

Alexander Adamchuk, Mar 02 2008

Keywords

Comments

No further terms < 100000. - Ray Chandler, Aug 05 2011
a(23) > 2*10^5. - Robert Price, Jun 23 2015

Crossrefs

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

Programs

  • Mathematica
    Do[ f = 15^n + 2; If[ PrimeQ[ f ], Print[ {n, f} ] ], {n, 1, 371} ]
  • PARI
    is(n)=ispseudoprime(15^n+2) \\ Charles R Greathouse IV, Feb 17 2017

Extensions

a(16)-a(19) from Ray Chandler, Jul 30 2011
a(20) found by Lelio R Paula, Dec 2006
a(21) from Ray Chandler, Jul 31 2011
a(22) from Robert Price, Jun 23 2015