OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,10,0,-1).
FORMULA
G.f.: (1+x-7x^2-2x^3)/(1-10x^2+x^4). a(n)=10a(n-2)-a(n-4). - Michael Somos, Mar 04 2003.
a(n) = ( - 1/24*3^(1/2)*2^(1/2) + 1/4 - 1/16*2^(1/2) + 1/8*3^(1/2))*(sqrt(3) + sqrt(2))^n + (1/24*3^(1/2)*2^(1/2) + 1/4 + 1/16*2^(1/2) + 1/8*3^(1/2))*(sqrt(3) - sqrt(2))^n + ( - 1/24*3^(1/2)*2^(1/2) - 1/8*3^(1/2) + 1/16*2^(1/2) + 1/4)*( - sqrt(3) - sqrt(2))^n + ( - 1/16*2^(1/2) + 1/4 + 1/24*3^(1/2)*2^(1/2) - 1/8*3^(1/2))*( - sqrt(3) + sqrt(2))^n [From Richard Choulet, Dec 04 2008]
MATHEMATICA
LinearRecurrence[{0, 10, 0, -1}, {1, 1, 3, 8}, 30] (* Harvey P. Dale, Sep 18 2016 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Feb 22 2003
STATUS
approved