The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A346645 Mersenne prime exponents p which are twin primes, so p-2 and/or p+2 is prime. 0
3, 5, 7, 13, 17, 19, 31, 61, 107, 521, 1279, 4423, 110503, 132049, 20996011, 24036583 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
When p is 5, both p-2 and p+2 are prime. No other number can have this property.
74207281 is a term, but its position in the sequence is not known, although it is highly likely to be the next term. As of July 26, 2021, the GIMPS project has tested all exponents below 104044933 at least once for Mersenne prime numbers and found no exponents > 82589933. However, only exponents below 56420383 have been verified.
As of July 26, 2021, the sequence of Mersenne prime exponents with a twin prime above the exponent (A087858) contains 5 terms, whereas the sequence of Mersenne prime exponents with a twin prime below the exponent (A297674) contains 12 terms, which is 2.4x as many as the former sequence. This is an empirical observation. It is uncertain whether either sequence will increase in length, but given that it is conjectured that there are infinitely many twin primes, and also conjectured there are an infinite number of Mersenne primes, both sequences may increase in length, in which case this sequence might too.
LINKS
Wikipedia, Twin Prime
Wikipedia, Prime Triplet
Wikipedia, Mersenne Prime
EXAMPLE
p 2^p-1 p-2 p+2
-- ---------- --- ----
3 7 1 5*
5 31 3* 7*
7 127 5* 9
13 8191 11* 15
17 131071 15 19*
19 524287 17* 21
31 2147483647 29* 33
Integers in columns 1 and 2 are always prime.
Primes in columns 3 and 4 are marked by an asterisk.
MATHEMATICA
twinPrimeQ[n_]:=PrimeQ[n] && (PrimeQ[n-2] || PrimeQ[n+2])
Table[MersennePrimeExponent[a], {a, 47}] //Select[twinPrimeQ]
CROSSREFS
Union of A087858 and A297674.
Sequence in context: A045399 A122834 A174265 * A107360 A058341 A116036
KEYWORD
nonn,hard,more
AUTHOR
David R. Kirkby, Jul 26 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 3 12:21 EDT 2024. Contains 373060 sequences. (Running on oeis4.)