OFFSET
1,2
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..200
Index entries for linear recurrences with constant coefficients, signature (651,-98049,5130937,-81120186,508243680,-1118136096).
FORMULA
From Colin Barker, Jul 19 2020: (Start)
G.f.: x^2*(50 + 9485*x - 176155*x^2 - 6027882*x^3 - 3111696*x^4) / ((1 - 7*x)^3*(1 - 84*x)^2*(1 - 462*x)).
a(n) = 651*a(n-1) - 98049*a(n-2) + 5130937*a(n-3) - 81120186*a(n-4) + 0*a(n-5) - 0*a(n-6) for n>6.
(End)
PROG
(PARI) \\ PeaksBySig defined in A334774.
a(n) = {PeaksBySig(vector(n, i, 6), [2])[1]/7} \\ Andrew Howroyd, May 12 2020
(PARI) concat(0, Vec(x^2*(50 + 9485*x - 176155*x^2 - 6027882*x^3 - 3111696*x^4) / ((1 - 7*x)^3*(1 - 84*x)^2*(1 - 462*x)) + O(x^15))) \\ Colin Barker, Jul 19 2020
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Dec 06 2008
EXTENSIONS
Terms a(7) and beyond from Andrew Howroyd, May 12 2020
STATUS
approved