OFFSET
0,2
COMMENTS
Gives the even terms, all the odd terms are 0.
LINKS
Index entries for linear recurrences with constant coefficients, signature (15,-78,210,79,-225).
FORMULA
G.f.: (38*x^4+127*x^3-57*x^2+13*x-1) / ((1-x) * (9*x-1) * (x+1) * (25*x^2-6*x+1)).
E.g.f.: (2*exp(3*x)*cos(4*x) + 5*cosh(x) + cosh(9*x) + sinh(x) + sinh(9*x))/8. - Stefano Spezia, Nov 10 2024
EXAMPLE
a(2)=9 corresponds to the words SSSS, TTTT, UUUU, TTUU, TUUT, UUTT, TUTU, UTUT, UTTU.
MATHEMATICA
LinearRecurrence[{15, -78, 210, 79, -225}, {1, 2, 9, 62, 689}, 22] (* James C. McMahon, Nov 10 2024 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Sean A. Irvine, Nov 09 2024
STATUS
approved