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.

A002253 Numbers k such that 3*2^k + 1 is prime.

Original entry on oeis.org

1, 2, 5, 6, 8, 12, 18, 30, 36, 41, 66, 189, 201, 209, 276, 353, 408, 438, 534, 2208, 2816, 3168, 3189, 3912, 20909, 34350, 42294, 42665, 44685, 48150, 54792, 55182, 59973, 80190, 157169, 213321, 303093, 362765, 382449, 709968, 801978, 916773, 1832496, 2145353
Offset: 1

Views

Author

Keywords

Comments

From Zak Seidov, Mar 08 2009: (Start)
List is complete up to 3941000 according to the list of RB & WK.
So far there are only 4 primes: 2, 5, 41, 353. (End)

References

  • D. E. Knuth, The Art of Computer Programming. Addison-Wesley, Reading, MA, Vol. 2, p. 614.
  • H. Riesel, "Prime numbers and computer methods for factorization", Progress in Mathematics, Vol. 57, Birkhauser, Boston, 1985, Chap. 4, see pp. 381-384.
  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

See A039687 for the actual primes.

Programs

  • PARI
    is(n)=isprime(3*2^n+1) \\ Charles R Greathouse IV, Feb 17 2017
    
  • PARI
    A2253=[1]; A002253(n)=for(k=#A2253, n-1, my(m=A2253[k]); until(ispseudoprime(3<M. F. Hasler, Mar 03 2023

Formula

a(n) = log_2((A039687(n)-1)/3) = floor(log_2(A039687(n)/3)). - M. F. Hasler, Mar 03 2023

Extensions

Corrected and extended according to the list of Ray Ballinger and Wilfrid Keller by Zak Seidov, Mar 08 2009
Edited by N. J. A. Sloane, Mar 13 2009
a(47) and a(48) from the Ballinger & Keller web page, Joerg Arndt, Apr 07 2013
a(49) from https://t5k.org/primes/page.php?id=116922, Fabrice Le Foulher, Mar 09 2014
Terms moved from Data to b-file (Links), and additional term appended to b-file, by Jeppe Stig Nielsen, Oct 30 2020