OFFSET
0,2
COMMENTS
A diagonal of the square array A223968.
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (9,-28,35,-15,1).
FORMULA
a(n) = A223968(n,n+1).
G.f.: (1-3*x+x^2)^2/(1-9*x+28*x^2-35*x^3+15*x^4-x^5).
a(n) = 9*a(n-1) - 28*a(n-2) + 35*a(n-3) - 15*a(n-4) + a(n-5) with a(0) = 1, a(1) = 3, a(2) = 10, a(3) = 35, a(4) = 126.
MATHEMATICA
CoefficientList[Series[(1 - 3 x + x^2)^2/(1 - 9 x + 28 x^2 - 35 x^3 + 15 x^4 - x^5), {x, 0, 25}], x] (* Michael De Vlieger, Aug 19 2015 *)
LinearRecurrence[{9, -28, 35, -15, 1}, {1, 3, 10, 35, 126}, 26] (* Ray Chandler, Aug 28 2015 *)
PROG
(PARI) Vec((1-3*x+x^2)^2/(1-9*x+28*x^2-35*x^3+15*x^4-x^5) + O(x^30)) \\ Colin Barker, Aug 19 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Philippe Deléham, Apr 09 2013
STATUS
approved