OFFSET
0,2
COMMENTS
In general, the trisection of a third-order linear recurrence with signature (x,y,z) will result in a third-order recurrence with signature (x^3 + 3*x*y + 3*z, -3*x*y*z + y^3 - 3*z^2, z^3). - Gary Detlefs, May 29 2024
LINKS
FORMULA
a(n) = 7*a(n-1) - 5*a(n-2) + a(n-3), a(0)=0, a(1)=2, a(2)=13.
G.f.: (2*x - x^2)/(1 - 7*x + 5*x^2 - x^3). [corrected by Nguyen Tuan Anh, Jan 10 2025]
MATHEMATICA
CoefficientList[Series[(2*x-x^2)/(1-7*x+5*x^2-x^3), {x, 0, 40}], x]
LinearRecurrence[{7, -5, 1}, {0, 2, 13}, 30] (* Harvey P. Dale, Jul 22 2021 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Mario Catalani (mario.catalani(AT)unito.it), Aug 24 2002
EXTENSIONS
Definition corrected by David Scambler, Oct 18 2010
STATUS
approved