OFFSET
0,3
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Christian Bean, Bjarki Gudmundsson, Henning Ulfarsson, Automatic discovery of structural rules of permutation classes, arXiv:1705.04109 [math.CO], 2017.
Index entries for linear recurrences with constant coefficients, signature (7,-16,14,-5,1).
FORMULA
G.f.: (1-6*x+11*x^2-6*x^3+x^4)/(1-7*x+16*x^2-14*x^3+5*x^4-x^5).
From Colin Barker, Dec 27 2017: (Start)
G.f.: (1 - 3*x + x^2)^2 / ((1 - x)*(1 - 6*x + 10*x^2 - 4*x^3 + x^4)).
a(n) = 7*a(n-1) - 16*a(n-2) + 14*a(n-3) - 5*a(n-4) + a(n-5) for n>4.
(End)
PROG
(PARI) Vec((1 - 3*x + x^2)^2 / ((1 - x)*(1 - 6*x + 10*x^2 - 4*x^3 + x^4)) + O(x^40)) \\ Colin Barker, Dec 27 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Bjarki Ágúst Guðmundsson, Dec 26 2017
STATUS
approved