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.

A138067 Least k > 1 such that (2n-1)^k + 2 is prime, or 0 if no such number exists.

Original entry on oeis.org

2, 2, 3, 0, 2, 5, 0, 2, 105, 0, 2, 11, 0, 5, 3, 0, 2, 15, 0, 2, 9, 0, 2, 113, 0, 5, 7, 0, 2, 27, 0, 3, 3, 0, 3, 3, 0, 12, 61, 0, 2, 3, 0, 4, 255, 0, 8, 63, 0, 2, 9, 0, 2, 3473, 0, 2, 3, 0, 2, 15, 0, 2, 87, 0, 3, 23, 0, 36, 1861, 0, 4, 3, 0, 2, 5, 0, 3, 7, 0, 136, 425, 0, 11
Offset: 1

Views

Author

Alexander Adamchuk, Mar 02 2008

Keywords

Comments

a(3n+1) = 0 for n > 0.
a(84) > 100000. - Ray Chandler, Aug 10 2011

Crossrefs

Cf. A084713 (smallest prime of the form (2n-1)^k + 2, or 0 if no such number exists).
Cf. A138066 (least k > 0 such that (2n-1)^k + 2 is prime, or 0 if no such number exists).
Cf. A051783 (k such that 3^k + 2 is prime).
Cf. A087885 (k such that 5^k + 2 is prime).

Extensions

a(54)-a(83) from Donovan Johnson, Oct 29 2008