OFFSET
1,2
LINKS
FORMULA
a(2n+1) = 6n^2 + 2 for n>=1.
a(2n) = 132n^2 - 240n + 152 for n>=2.
From Colin Barker, Sep 17 2013: (Start)
a(n) = 3*a(n-2)-3*a(n-4)+a(n-6) for n>8.
G.f.: -x*(18*x^3+x^2+26*x+1)*(x^4+4*x^2+1) / ((x-1)^3*(x+1)^3). (End)
PROG
(PARI) Vec(-x*(18*x^3+x^2+26*x+1)*(x^4+4*x^2+1)/((x-1)^3*(x+1)^3) + O(x^100)) \\ Colin Barker, Sep 17 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Omar E. Pol, Sep 20 2009
EXTENSIONS
Formula and more terms from Nathaniel Johnston, Nov 15 2010
More terms from Colin Barker, Sep 17 2013
STATUS
approved