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!)
A257055 a(n) = n*(n + 1)*(n^2 - n + 3)/6. 3
0, 1, 5, 18, 50, 115, 231, 420, 708, 1125, 1705, 2486, 3510, 4823, 6475, 8520, 11016, 14025, 17613, 21850, 26810, 32571, 39215, 46828, 55500, 65325, 76401, 88830, 102718, 118175, 135315, 154256, 175120, 198033, 223125, 250530, 280386, 312835, 348023, 386100 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Partial sums of A037235.
After 0, this sequence is the 2nd diagonal of the square array in A080851.
For n > 2, a(n)-n is the 4th column of the triangular array in A208657.
LINKS
FORMULA
G.f.: x*(1 + 3*x^2)/(1 - x)^5.
a(n) = 3*A000332(n+1) + A000332(n+3).
a(n) = 5*a(n-1)-10*a(n-2)+10*a(n-3)-5*a(n-4)+a(n-5). - Wesley Ivan Hurt, May 27 2021
MATHEMATICA
Table[n (n + 1) (n^2 - n + 3)/6, {n, 40}]
PROG
(PARI) vector(40, n, n--; n*(n+1)*(n^2-n+3)/6)
(Magma) [n*(n+1)*(n^2-n+3)/6: n in [0..40]];
(Sage) [n*(n+1)*(n^2-n+3)/6 for n in (0..40)]
CROSSREFS
Cf. similar sequences listed in A256859.
Sequence in context: A176145 A270978 A272512 * A036893 A332953 A125641
KEYWORD
nonn,easy
AUTHOR
Bruno Berselli, Apr 15 2015
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 April 25 11:39 EDT 2024. Contains 371969 sequences. (Running on oeis4.)