OFFSET
1,2
REFERENCES
W. C. Yang (yang(AT)math.wisc.edu), Derivatives of self-compositions of functions, preprint, 1997.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..10000
W. C. Yang, Derivatives are essentially integer partitions, Discrete Mathematics, 222(1-3), July 2000, 235-245.
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
a(n) = n*(n+1)*(n^2+13*n-2)/24. - John W. Layman, Apr 27 2000
G.f.: x*(1-2*x^2+2*x)/(1-x)^5. - Maksym Voznyy (voznyy(AT)mail.ru), Aug 11 2009; corrected by R. J. Mathar, Sep 16 2009
E.g.f.: (1/24)*x*(24 + 60*x + 20*x^2 + x^3)*exp(x). - G. C. Greubel, Dec 26 2025
EXAMPLE
a(7) = 7*28 + (7*0+6*1+5*3+4*6+3*10+2*15+1*21) = 322. [Bruno Berselli, Jun 22 2013]
MATHEMATICA
Table[n*(n+1)*(n^2+13*n-2)/24, {n, 50}] (* G. C. Greubel, Dec 26 2025 *)
PROG
(Magma) [n*(n+1)*(n^2+13*n-2)/24: n in [1..40]]; // Vincenzo Librandi, Oct 10 2011
(SageMath)
def A022815(n): return n*(n+1)*(n**2+13*n-2)//24 # G. C. Greubel, Dec 26 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Christian G. Bower, Aug 15 1999
STATUS
approved
