OFFSET
1,3
FORMULA
a(2m) = 2^(m^2 - 1)*(2^m + 1) - 2^(m*(m + 1)/2).
a(2m+1)= 2^(m^2 + 2*m + 1) - 2^((m^2 + 3*m + 2)/2).
PROG
(PARI) s=[0]; for(m=1, 15, s=concat(s, [2^(m^2-1)*(2^m+1)-2^(m*(m+1)/2), 2^(m^2+2*m+1)-2^((m^2+3*m+2)/2)])); s \\ Colin Barker, Mar 28 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Anthony C Robin, Jul 14 2008
EXTENSIONS
More terms from Colin Barker, Mar 28 2014
STATUS
approved