OFFSET
0,2
COMMENTS
Hankel transform of A137398(n+1) (conjecture).
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
G.f.: (1 - x + 5*x^2 - x^3)/(1-x)^4.
a(n) = A006331(n) + 1. - Bruno Berselli, Nov 14 2011
MAPLE
MATHEMATICA
LinearRecurrence[{4, -6, 4, -1}, {1, 3, 11, 29}, 100] (* Vincenzo Librandi, Nov 25 2011 *)
PROG
(Magma) [(2*n^3+3*n^2+n+3)/3: n in [0..50]]; // Vincenzo Librandi, Nov 25 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Barry, Apr 01 2011
STATUS
approved