OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,3,-3,-3,3,1,-1).
FORMULA
Odd numbers in A000330.
From Ant King, Oct 17 2012: (Start)
a(n) = 3*a(n-2) - 3*a(n-4) + a(n-6) + 128.
a(n) = (1 + 4*n + (-1)^n)*(2 + 4*n + (-1)^n)*(3 + 4*n + (-1)^n)/24.
G.f.: (1+4*x+47*x^2+24*x^3+47*x^4+4*x^5+x^6)/((1-x)^4*(1+x)^3). (End)
From Amiram Eldar, Mar 07 2022: (Start)
Sum_{n>=0} 1/a(n) = 6*sqrt(2)*log(sqrt(2)+1) - 9*log(2).
Sum_{n>=0} (-1)^n/a(n) = 3*Pi*(1-2*tan(Pi/8))/2. (End)
MATHEMATICA
LinearRecurrence[{1, 3, -3, -3, 3, 1, -1}, {1, 5, 55, 91, 285, 385, 819}, 38] (* Ant King Oct 17 2012 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Erich Friedman
STATUS
approved