OFFSET
1,1
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..15
EXAMPLE
MAPLE
a := proc(n) if isprime(2^n-1) then return 2^(2*n) fi; end;
[seq(a(n), n=1..31)]; # ithprime(31) = 127
MATHEMATICA
2^(2*MersennePrimeExponent[Range[10]]) (* Harvey P. Dale, Jun 27 2023 *)
PROG
(PARI) forprime(p=1, 99, isprime(2^p-1)&&print1(4^p", ")) \\ or better: {A330824(n)=4^A000043(n)}. - M. F. Hasler, Feb 07 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Walter Kehowski, Jan 06 2020
STATUS
approved