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.

Showing 1-3 of 3 results.

A322301 Primes p such that 5*2^p + 1 is also prime.

Original entry on oeis.org

3, 7, 13, 127, 3313, 23473, 819739
Offset: 1

Views

Author

Vincenzo Librandi, Dec 19 2018

Keywords

Comments

Primes in A002254.

Crossrefs

Programs

  • Magma
    [p: p in PrimesUpTo (10000) | IsPrime(5*2^p+1)];
  • Maple
    select(p->isprime(p) and isprime(5*2^p+1),[$0..5000]); # Muniru A Asiru, Dec 19 2018
  • Mathematica
    Select[Prime[Range[4000]], PrimeQ[5 2^# + 1] &]

A322302 Primes p such that 11*2^p + 1 is also prime.

Original entry on oeis.org

3, 5, 7, 19, 43, 127, 211, 15329, 28277, 3771821
Offset: 1

Views

Author

Vincenzo Librandi, Dec 20 2018

Keywords

Comments

Primes in A002261.

Crossrefs

Programs

  • GAP
    Filtered([1..1000], p -> IsPrime(p) and IsPrime(11*2^p+1)); # Muniru A Asiru, Dec 20 2018
  • Magma
    [p: p in PrimesUpTo (6000) | IsPrime(11*2^p+1)];
    
  • Maple
    select(p->isprime(p) and isprime(11*2^p+1),[$1..1000]); # Muniru A Asiru, Dec 20 2018
  • Mathematica
    Select[Prime[Range[1000]], PrimeQ[11 2^# + 1] &]

Extensions

a(10) from Joerg Arndt Dec 20 2018

A383914 Primes p such that 12*2^p + 1 is also prime.

Original entry on oeis.org

3, 199, 3187, 44683, 59971, 213319, 303091, 916771
Offset: 1

Views

Author

Vincenzo Librandi, May 17 2025

Keywords

Comments

If k is a term in A002253 and k-2 is prime, then k-2 is a term. - Amiram Eldar, May 17 2025

Examples

			3 is a term because 12*2^3+1 = 97 (prime).
		

Crossrefs

Programs

  • Magma
    [p: p in PrimesUpTo (3500) | IsPrime(12*2^p+1)];
  • Mathematica
    Select[Prime[Range[3500]],PrimeQ[12 2^#+1]&]

Extensions

a(4)-a(8) from the b-file at A002253 added by Amiram Eldar, May 17 2025
Showing 1-3 of 3 results.