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.

A065406 Mersenne prime exponents (A000043) which are also Sophie Germain primes (A005384).

Original entry on oeis.org

2, 3, 5, 89, 9689, 21701, 859433, 43112609
Offset: 1

Views

Author

Labos Elemer, Nov 06 2001

Keywords

Comments

From Gord Palameta, Jul 19 2018: (Start)
All terms after the first two are congruent to 1 modulo 4, because if p is a Sophie Germain prime that is congruent to 3 modulo 4 then 2p + 1 divides 2^p - 1.
Boklan and Conway conjecture that this sequence is finite.
(End)

Examples

			31 = 2^5 - 1 and 11 = 2 * 5 + 1 are primes.
		

Crossrefs

Programs

  • Mathematica
    Select[Prime[Range[1000]], PrimeQ[2# + 1] && PrimeQ[2^# - 1] &] (* Alonso del Arte, Jul 20 2018 *)
    Select[Prime@ Range[10^6], And[PrimeQ[2 # + 1], MersennePrimeExponentQ@ #] &] (* Michael De Vlieger, Jul 20 2018 *)

Extensions

a(8) = 43112609, since the ordinal position of this term in A000043 is now confirmed. - Gord Palameta, Jul 19 2018