login
A336581
Mersenne exponents whose corresponding prime can be expressed as the sum of at least two consecutive primes.
0
5, 7, 13, 17, 61
OFFSET
1,1
COMMENTS
127 is a term.
LINKS
Carlos Rivera, Puzzle 456. Mersenne Primes as a sum of consecutive primes, The Prime Puzzles and Problems Connection.
EXAMPLE
5 is a term because 2^5-1 = 7 + 11 + 13.
17 is a term because 2^17-1 = 43669 + 43691 + 43711.
PROG
(PARI) isok(m) = my(p=2^m-1); isprime(p) && isA050936(p);
CROSSREFS
Cf. A000043 (Mersenne exponents), A000668, A050936, A067377.
Sequence in context: A073574 A092110 A171518 * A248920 A314325 A086844
KEYWORD
nonn,more
AUTHOR
Michel Marcus, Aug 30 2020
STATUS
approved