OFFSET
0,4
LINKS
Colin Barker, Table of n, a(n) for n = 0..50
FORMULA
(1/8)*(2^(n^2)-2*2^((n^2+n)/2)-3*2^(n^2/2)+2*2^(n^2/4)+2*2^((n^2+2*n)/4)) if n is even and (1/8)*(2^(n^2)-4*2^((n^2+n)/2)-2^((n^2+1)/2)+4*2^((n^2+2*n+1)/4)) if n is odd. - Corrected by Colin Barker, Oct 25 2016
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Vladeta Jovovic, May 08 2000
EXTENSIONS
More terms from Colin Barker, Oct 25 2016
STATUS
approved