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-2 of 2 results.

A196303 Primes p such that (p-1)*2^p+1 is also prime.

Original entry on oeis.org

2, 3, 7, 1471, 1483, 61627, 88651
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Oct 02 2011

Keywords

Examples

			a(1) = 2 because 2 and (2-1)*2^2 + 1 = 5 are both prime.
a(2) = 3 because 3 and (3-1)*2^3 + 1 = 17 are both prime.
a(3) = 7 because 7 and (7-1)*2^7 + 1 = 769 are both prime.
		

Crossrefs

Prime terms of A128001.

Programs

  • Mathematica
    Select[Prime[Range[9000]],PrimeQ[(#-1)2^#+1]&] (* Harvey P. Dale, Jan 19 2012 *)
  • PARI
    forprime(n=1,1e4,if(ispseudoprime((n-1)<Charles R Greathouse IV, Oct 09 2011

Extensions

a(7) corrected by Michael S. Branicky, May 14 2025

A119531 Primes in A000337.

Original entry on oeis.org

5, 17, 769, 3489660929, 112589990684262401, 1945555039024054273, 193428131138340667952988161
Offset: 1

Views

Author

Jorge Coveiro, Jul 27 2006

Keywords

Comments

Next two terms are too big to include, see A128001.

Formula

a(n) = A000337(A128001(n)). - R. J. Mathar, Oct 10 2011

Extensions

Clearer (but incorrect) definition from R. J. Mathar, Jan 27 2008, corrected Oct 10 2011
Showing 1-2 of 2 results.