OFFSET
1,1
FORMULA
a(n) = A020522(prime(n)-1). - Michel Marcus, Feb 18 2021
EXAMPLE
Prime(1)=2, so a(1) = 2^(2 - 2)*(2^2 - 2) = 2^0*(4-2) = 2.
Prime(2)=3, so a(2) = 2^(3 - 2)*(2^3 - 2) = 2^1*(8-2) = 12.
MATHEMATICA
Table[2^(n-2) (2^n-2), {n, Prime[Range[20]]}] (* Harvey P. Dale, Aug 19 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Aug 05 2008
EXTENSIONS
Corrected and extended by D. S. McNeil, Mar 21 2009
STATUS
approved