OFFSET
0,2
REFERENCES
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
Ivan Panchenko, Table of n, a(n) for n = 0..1000
Simon Plouffe, Approximations de séries génératrices et quelques conjectures, Dissertation, Université du Québec à Montréal, 1992; arXiv:0911.4975 [math.NT], 2009.
Simon Plouffe, 1031 Generating Functions, Appendix to Thesis, Montreal, 1992
Earl Glen Whitehead Jr., Stirling number identities from chromatic polynomials, J. Combin. Theory, A 24 (1978), 314-317.
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
a(0)=1, a(1)=5, a(2)=15, a(3)=37, a(n)=4*a(n-1)-6*a(n-2)+4*a(n-3)-a(n-4). - Harvey P. Dale, Oct 01 2014
From G. C. Greubel, Dec 01 2022: (Start)
E.g.f.: (1 + 4*x + 3*x^2 + x^3)*exp(x).
MAPLE
A005491:=(1+z+z**2+3*z**3)/(z-1)**4; # [Conjectured by Simon Plouffe in his 1992 dissertation.]
MATHEMATICA
Table[n^3 + 3 n + 1, {n, 0, 50}] (* or *) LinearRecurrence[{4, -6, 4, -1}, {1, 5, 15, 37}, 50] (* Harvey P. Dale, Oct 01 2014 *)
PROG
(PARI) a(n)=n^3+3*n+1 \\ Charles R Greathouse IV, Oct 07 2015
(Magma) [n^3+3*n+1: n in [0..50]]; // G. C. Greubel, Dec 01 2022
(SageMath) [(n+1)^3 -3*n^2 for n in range(51)] # G. C. Greubel, Dec 01 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Harvey P. Dale, Oct 01 2014
STATUS
approved