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!)
A088941 a(n)=12*sum(1<=i<=j<=k<=n,i*j/k). 4
0, 12, 54, 154, 349, 685, 1217, 2009, 3134, 4674, 6720, 9372, 12739, 16939, 22099, 28355, 35852, 44744, 55194, 67374, 81465, 97657, 116149, 137149, 160874, 187550, 217412, 250704, 287679, 328599, 373735, 423367, 477784, 537284, 602174, 672770 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Always an integer.
LINKS
FORMULA
a(n)=(n/24)*(9*n^3 + 58*n^2 + 123*n + 98).
G.f.: x*(x^3-4*x^2+6*x-12) / (x-1)^5. - Colin Barker, Jun 15 2013
MATHEMATICA
LinearRecurrence[{5, -10, 10, -5, 1}, {0, 12, 54, 154, 349}, 40] (* Harvey P. Dale, May 01 2014 *)
PROG
(PARI) a(n)=if(n<0, 0, a(n)=n/24*(9*n^3 + 58*n^2 + 123*n + 98))
CROSSREFS
A051798(n) - 1.
Sequence in context: A372025 A060785 A059986 * A019582 A025204 A005549
KEYWORD
nonn,easy
AUTHOR
Benoit Cloitre, Oct 25 2003
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 26 19:27 EDT 2024. Contains 372004 sequences. (Running on oeis4.)