OFFSET
0,2
COMMENTS
See Mathematica section for an explicit formula for the n-th term. - Benedict W. J. Irwin, May 30 2016
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,3,0,0,-2).
FORMULA
G.f.: ( 1+3*x+5*x^2+3*x^3-x^4-5*x^5 ) / ( (x-1)*(2*x^3-1)*(1+x+x^2) ). - R. J. Mathar, Apr 16 2016
MATHEMATICA
Simplify[Table[1/6 (10 (2^n)^(1/3) + 4 (-3 + 5 2^(n/3)) Cos[(2 n Pi)/3] + 5 2^((4 + n)/3)Sin[(n Pi)/3] (Sqrt[3] (-1 + 2^(1/3)) Cos[(n Pi)/3] + (1 + 2^(1/3)) Sin[(n Pi)/3]) - 4 (3 + Sqrt[3] Sin[(2 n Pi)/3])), {n, 0, 20}]] (* Benedict W. J. Irwin, May 30 2016 *)
CROSSREFS
KEYWORD
nonn,easy,less
AUTHOR
Ravesh Sukhram, Feb 27 2016
STATUS
approved