login
A138576
Numbers k such that 2^(2*k - 1) - 1 is prime.
3
2, 3, 4, 7, 9, 10, 16, 31, 45, 54, 64, 261, 304, 640, 1102, 1141, 1609, 2127, 2212, 4845, 4971, 5607, 9969, 10851, 11605, 22249, 43122, 55252, 66025, 108046, 378420, 429717, 628894, 699135, 1488111, 1510689, 3486297, 6733459, 10498006, 12018292, 12982476, 15201229, 16291329, 18578334
OFFSET
1,1
LINKS
Mario Fernando Garcia Rivera, Table of n, a(n) for n = 1..47 (derived from A000043)
FORMULA
a(n) = (A000043(n+1) + 1)/2. - Charles R Greathouse IV, Aug 30 2010
a(n) = A146768(n) + 1. - César Aguilera, May 27 2020
EXAMPLE
2^(2*2 - 1) - 1 = 7;
2^(2*3 - 1) - 1 = 31;
2^(2*4 - 1) - 1 = 127.
MATHEMATICA
(MersennePrimeExponent[Range[2, 48]] + 1)/2 (* Amiram Eldar, Oct 22 2024 *)
PROG
(PARI) is(n)=isprime(2^(2*n-1)-1) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A141748 A057267 A277066 * A259483 A187503 A038197
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from Charles R Greathouse IV, Aug 30 2010
More terms from Mario Fernando Garcia Rivera, Jul 18 2022
STATUS
approved