OFFSET
0,2
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (9,-20,12).
FORMULA
a(n) = T(n, n), array T given by A048471.
From Colin Barker, Aug 24 2016: (Start)
a(n) = 9*a(n-1)-20*a(n-2)+12*a(n-3) for n>2.
G.f.: (1-6*x+10*x^2) / ((1-x)*(1-2*x)*(1-6*x)).
(End)
PROG
(PARI) Vec((1-6*x+10*x^2)/((1-x)*(1-2*x)*(1-6*x)) + O(x^30)) \\ Colin Barker, Aug 24 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Simpler definition from Ralf Stephan, Feb 17 2004
Corrected by T. D. Noe, Nov 07 2006
STATUS
approved