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.

Previous Showing 11-12 of 12 results.

A057220 Numbers k such that 2^k - 23 is prime.

Original entry on oeis.org

2, 4, 6, 8, 12, 14, 18, 36, 68, 152, 212, 324, 1434, 1592, 1668, 3338, 7908, 9662, 27968, 28116, 33974, 41774, 66804, 144518, 162954, 241032, 366218, 676592, 991968
Offset: 1

Views

Author

Robert G. Wilson v, Sep 16 2000

Keywords

Comments

Note that for the values 2 and 4 the primes are negative.
a(22) > 41358. - Jinyuan Wang, Jan 20 2020
All terms are even. - Elmo R. Oliveira, Nov 24 2023

Examples

			k = 6: 2^6 - 23 = 41 is prime.
k = 8: 2^8 - 23 = 233 is prime.
		

Crossrefs

Cf. A096502.
Cf. Sequences of numbers k such that 2^k - d is prime: A000043 (d=1), A050414 (d=3), A059608 (d=5), A059609 (d=7), A059610 (d=9), A096817 (d=11), A096818 (d=13), A059612 (d=15), A059611 (d=17), A096819 (d=19), A096820 (d=21), this sequence (d=23), A356826 (d=29).

Programs

  • Mathematica
    Do[ If[ PrimeQ[ 2^n - 23 ], Print[ n ] ], { n, 1, 15000} ]
  • PARI
    is(n)=ispseudoprime(2^n-23) \\ Charles R Greathouse IV, Jun 13 2017

Extensions

a(19)-a(21) from Jinyuan Wang, Jan 20 2020
a(22)-a(23) found by Henri Lifchitz, a(24)-a(27) found by Lelio R Paula, a(28)-a(29) found by Stefano Morozzi, added by Elmo R. Oliveira, Nov 24 2023

A379020 Numbers k such that 2^k - 25 is prime.

Original entry on oeis.org

5, 7, 9, 13, 33, 37, 57, 63, 93, 127, 129, 165, 189, 369, 717, 3079, 3087, 3925, 6709, 7633, 18001, 21961, 55557, 60415, 63589, 69463, 75949, 98265, 212295, 416773, 647545, 824325, 1538959, 2020893, 2421175
Offset: 1

Views

Author

Boyan Hu, Dec 13 2024

Keywords

Comments

Except for a(1), all terms are congruent to 1 or 3 mod 6.
a(36) > 3400000. - Boyan Hu, Jun 16 2025

Examples

			7 is in the sequence because 2^7-25=103 is prime.
8 is not in the sequence because 2^8-25=231=3*7*11 is not prime.
		

Crossrefs

Sequences of numbers k such that 2^k - d is prime: A000043 (d=1), A050414 (d=3), A059608 (d=5), A059609 (d=7), A059610 (d=9), A096817 (d=11), A096818 (d=13), A059612 (d=15), A059611 (d=17), A096819 (d=19), A096820 (d=21), A057220 (d=23), A356826 (d=29).
Except for a(1), subsequence of A047241.

Programs

  • Mathematica
    Do[ If[ PrimeQ[ 2^n - 25 ], Print[ n ] ], { n, 1, 15000} ]
  • PARI
    is(n)=ispseudoprime(2^n-25)

Extensions

a(1)=5 inserted by Max Alekseyev, May 28 2025
Previous Showing 11-12 of 12 results.