OFFSET
1,2
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..450
MATHEMATICA
Differences[2^Prime[Range[25]]-1]/4 (* Paolo Xausa, Oct 20 2023 *)
PROG
(PARI) a(n)=my(p=prime(n)); (2^nextprime(p+1)-2^p)/4 \\ Charles R Greathouse IV, Jan 03 2013
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Omar E. Pol, Apr 19 2008
EXTENSIONS
a(10)-a(21) from Paolo Xausa, Oct 20 2023
STATUS
approved