OFFSET
1,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..5000
C. Rossiter, Depictions, Explorations and Formulas of the Euler/Pascal Cube. [broken link]
Index entries for linear recurrences with constant coefficients, signature (8,-28,56,-70,56,-28,8,-1).
FORMULA
a(n) = n*(n+1)*(n+2)*(n+3)*...*(n+k)*(n*(n+k) + (k-1)*k/6)/((k+3)!/6) for k=4. - Alexander R. Povolotsky, May 17 2008
G.f.: x*(1 + 4*x + x^2)/(1-x)^8. - R. J. Mathar, Jun 13 2008
E.g.f.: x*(840 + 4200*x + 5040*x^2 + 2240*x^3 + 427*x^4 + 35*x^5 + x^6) *exp(x)/840. - G. C. Greubel, Dec 01 2018
MATHEMATICA
Table[Binomial[n+4, 5]*(2+4*n+n^2)/7, {n, 0, 50}] (* G. C. Greubel, Feb 17 2017 *)
PROG
(PARI) {A101097(n) = n*(n+1)*(n+2)*(n+3)*(n+4)*(2+4*n+n^2)/840} \\ R. J. Mathar, Dec 06 2011
(Magma) A000217:=func<i | i*(i+1)/2>; [&+[A000217(k)^2*A000217(n-k+1): k in [1..n]]: n in [1..40]]; // Bruno Berselli, Sep 04 2013
(Sage) [binomial(n+4, 5)*(2+4*n+n^2)/7 for n in (1..40)] # G. C. Greubel, Dec 01 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Cecilia Rossiter (cecilia(AT)noticingnumbers.net), Dec 15 2004
EXTENSIONS
Edited by Ralf Stephan, Dec 16 2004
STATUS
approved