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!)
A130861 a(n) = (n-1)*(2*n+5). 18
0, 9, 22, 39, 60, 85, 114, 147, 184, 225, 270, 319, 372, 429, 490, 555, 624, 697, 774, 855, 940, 1029, 1122, 1219, 1320, 1425, 1534, 1647, 1764, 1885, 2010, 2139, 2272, 2409, 2550, 2695, 2844, 2997, 3154, 3315, 3480, 3649, 3822, 3999, 4180, 4365 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Old name was: "Ratio of Sum of k^2-1 to sum of k made into an integer sequence: (n-1)*(2*n+5)".
LINKS
FORMULA
a(n) = 3*(n + 1)*( Sum_{k=1..n} k^2-1 )/ ( Sum_{k=1..n} k ) = (-1 + n)*(5 + 2*n).
G.f.: x^2*(9 - 5*x)/(1-x)^3. - R. J. Mathar, Nov 14 2007
a(n) = a(n-1) +4*n +1 for n>1, a(1)=0. - Vincenzo Librandi, Nov 23 2010
a(n) = n*(2n+7) with offset 0. - Michel Marcus, Jan 28 2015
8*a(n) + 49 = A016838(n). - Bruno Berselli, Jan 28 2015
E.g.f.: 5 + (2*x^2 + 5* x -5)*exp(x). - G. C. Greubel, Jul 21 2017
MATHEMATICA
Table[(n-1)(2n+5), {n, 50}] (* or *) LinearRecurrence[{3, -3, 1}, {0, 9, 22}, 50] (* Harvey P. Dale, Oct 02 2015 *)
PROG
(PARI) a(n)=(n-1)*(2*n+5) \\ Charles R Greathouse IV, Sep 24 2015
CROSSREFS
Cf. A016838.
Sequence in context: A330477 A295008 A154528 * A049730 A131895 A323221
KEYWORD
nonn,easy
AUTHOR
Roger L. Bagula, Jul 22 2007
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 07:07 EDT 2024. Contains 371964 sequences. (Running on oeis4.)