login
This site is supported by donations 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

Table of n, a(n) for n=0..35.

Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).

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

Cf. A088942, A088943.

A051798(n) - 1.

Sequence in context: A022704 A060785 A059986 * A019582 A025204 A005549

Adjacent sequences:  A088938 A088939 A088940 * A088942 A088943 A088944

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 | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified March 25 11:34 EDT 2017. Contains 284076 sequences.