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!)
A308316 Numbers m such that q = 2^m - 1 and r = m^2 + m + 1 are both primes. 0
2, 3, 5, 17, 89, 9689, 11213, 2976221 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
All terms are primes.
Mersenne exponents p from A000043 such that p^2 + p + 1 is a prime.
Intersection of A000043 and A002384.
Corresponding values of primes q: 3, 7, 31, 131071, 618970019642690137449562111, ...
Corresponding values of primes r: 7, 13, 31, 307, 8011, 93886411, 125742583, 8857894417063, ...
LINKS
PROG
(Magma) [m: m in [1..1000] | IsPrime(2^m - 1) and IsPrime(m^2 + m + 1)]
(PARI) isok(n) = isprime(2^n-1) && isprime(n^2+n+1); \\ Michel Marcus, May 21 2019
CROSSREFS
Sequence in context: A245641 A082979 A065952 * A089983 A370606 A072858
KEYWORD
nonn,more
AUTHOR
Jaroslav Krizek, May 19 2019
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 April 16 03:22 EDT 2024. Contains 371696 sequences. (Running on oeis4.)