OFFSET
0,2
COMMENTS
LINKS
Kival Ngaokrajang, Illustration of initial terms
FORMULA
Empirical g.f.: (3*x^11 +x^10 +12*x^9 +5*x^8 +15*x^7 +6*x^6 +27*x^5 +12*x^4 +12*x^3 +5*x^2 +3*x +1) / ((x -1)^2*(x +1)^2*(x^2 +1)*(x^4 +1)). - Colin Barker, Oct 18 2014
PROG
(PARI)
{
c2=0; c3=0; c6=3; c7=1; c8=0;
for(n=0, 100,
if (Mod(n, 2)==0,
\\even
if (n<1, a(n)=1, c3=c3+c2; a=6*c3);
c1=n/8+3/4;
if (c1==floor(c1), c2=2, c2=1)
,
\\odd
c4=(n^2-1)/16;
if (c4==floor(c4), c5=-1, c5=1);
if (n>4, c6=c6+c5);
if (n>=2, c7=c7+c6);
if (c6<>4, c9=0, c9=2);
a=3*(c7+c8+c9);
c8=c7
);
print1(a", ")
)
}
CROSSREFS
KEYWORD
nonn
AUTHOR
Kival Ngaokrajang, Oct 18 2014
EXTENSIONS
Edited. Small changes in the text. - Wolfdieter Lang, Nov 10 2014
STATUS
approved