The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A074334 a(n) = Sum_{r=1..n} r^4*binomial(n,r)^2. 6
0, 1, 20, 234, 2144, 16750, 117432, 761460, 4654848, 27173718, 152867000, 834212236, 4438175040, 23108423884, 118111709744, 594059985000, 2946077521920, 14429322555750, 69892354873080, 335194270938780, 1593211647720000, 7511501237722020, 35153884344493200 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
REFERENCES
H. W. Gould, Combinatorial Identities, 1972. (See formulas 3.77, 3.78, and 3.79 on page 31.)
LINKS
Nikita Gogin and Mika Hirvensalo, On the Moments of Squared Binomial Coefficients, (2020).
FORMULA
For n>1 a(n) = n^2*(n^3+n^2-3*n-1)*C(n-2). Here C(n-2) = binomial(2*n-4, n-2)/(n-1) is a Catalan number.
From G. C. Greubel, Jun 23 2022: (Start)
a(n) = (n^2*(n^3 + n^2 - 3*n -1)/(2*(2*n-3)))*binomial(2*n-2, n-1).
G.f.: x*(1 + 2*x + 32*x^3 - 128*x^4 + 144*x^5)/(1-4*x)^(9/2).
E.g.f.: x*exp(2*x)*( (1+2*x)*(1 +6*x +4*x^2)*BesselI(0, 2*x) + 2*x*(2 + 7*x + 4*x^2)*BesselI(1, 2*x) ). (End)
MATHEMATICA
Total/@Table[r^4 Binomial[n, r]^2, {n, 0, 20}, {r, n}] (* Harvey P. Dale, Dec 04 2017 *)
Table[n^2*(n^3+n^2-3*n-1)*CatalanNumber[n-2] -Boole[n==1], {n, 0, 30}] (* G. C. Greubel, Jun 23 2022 *)
PROG
(PARI) vector(30, n, n--; sum(k=1, n, k^4*binomial(n, k)^2)) \\ Michel Marcus, Aug 19 2015
(Magma) [n le 1 select n else n^2*(n^3+n^2-3*n-1)*Catalan(n-2): n in [0..30]]; // G. C. Greubel, Jun 23 2022
(SageMath) [n^2*(n^3+n^2-3*n-1)*catalan_number(n-2) for n in (0..30)] # G. C. Greubel, Jun 23 2022
CROSSREFS
Cf. A000108 (Catalan numbers).
Sequence in context: A022648 A004315 A253010 * A163004 A278320 A061139
KEYWORD
easy,nonn
AUTHOR
Paul Boddington, Mar 05 2003
EXTENSIONS
Terms a(18) and beyond from Andrew Howroyd, Jan 16 2020
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 20 12:27 EDT 2024. Contains 372712 sequences. (Running on oeis4.)