OFFSET
1,2
LINKS
Colin Barker, Table of n, a(n) for n = 1..1000
S. Butler and R. Graham, Enumerating (multiplex) juggling sequences, arXiv:0801.2597 [math.CO], 2008.
Index entries for linear recurrences with constant coefficients, signature (9,-22,13,3).
FORMULA
G.f.: (x-5*x^2+7*x^3-3*x^4)/(1-9*x+22*x^2-13*x^3-3*x^4).
a(n) = 9*a(n-1)-22*a(n-2)+13*a(n-3)+3*a(n-4) for n>4. - Colin Barker, Aug 31 2016
MATHEMATICA
LinearRecurrence[{9, -22, 13, 3}, {1, 4, 21, 111}, 30] (* Harvey P. Dale, Feb 13 2022 *)
PROG
(PARI) Vec((x-5*x^2+7*x^3-3*x^4)/(1-9*x+22*x^2-13*x^3-3*x^4) + O(x^30)) \\ Colin Barker, Aug 31 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Steve Butler, Jan 21 2008
STATUS
approved