OFFSET
1,1
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..450
FORMULA
a(n) = 2^prime(n+2)-2^(prime(n+1)+1)+2^prime(n). - Michel Marcus, Mar 13 2020
MATHEMATICA
Differences[2^Prime[Range[25]]-1, 2] (* Paolo Xausa, Oct 20 2023 *)
PROG
(PARI) a(n) = 2^prime(n+2)-2^(prime(n+1)+1)+2^prime(n); \\ Michel Marcus, Mar 13 2020
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Omar E. Pol, Apr 19 2008
EXTENSIONS
More terms from Alois P. Heinz, Mar 13 2020
STATUS
approved