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.
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]
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]
PROG
(Magma) [n*(n+1)*(n^2+13*n-2)/24: n in [1..40]]; // Vincenzo Librandi, Oct 10 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
G.f. proposed by Maksym Voznyy checked and corrected by R. J. Mathar, Sep 16 2009.
More terms from Christian G. Bower, Aug 15 1999.
STATUS
approved