OFFSET
1,2
COMMENTS
A column of the array described in A202624. See that entry for references.
MAPLE
g:=k->(4*k+1)*(2^(4*k+1)+(-1)^k*2^(2*k+1)+1);
f:=n-> if n mod 4 = 0 then n-1 elif n mod 4 = 1 then n^4-1 elif n mod 4 = 2 then g((n-2)/4); else 0; fi;
[seq(f(n), n=1..60)];
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Dec 30 2011
STATUS
approved