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.

A128461 Numbers k such that 21^k - 2 is a prime.

Original entry on oeis.org

1, 2, 4, 10, 21, 25, 27, 32, 60, 88, 106, 120, 146, 264, 828, 965, 1944, 4822, 12089, 14427, 17354, 42335, 46395, 58348, 190632
Offset: 1

Views

Author

Alexander Adamchuk, Mar 14 2007

Keywords

Comments

a(26) > 2*10^5. - Robert Price, Jul 14 2015

Crossrefs

Cf. A084714 (smallest prime of the form (2n-1)^k - 2).
Cf. A128472 (smallest prime of the form (2n-1)^k - 2 for k > (2n-1)).

Programs

  • Mathematica
    Do[ f = 21^n - 2; If[ PrimeQ[ f ], Print[ {n, f} ] ], {n,1,1000} ]

Extensions

2 more terms from Stefan Steinerberger, May 05 2007
a(17)-a(25) from Robert Price, Jul 14 2015