login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A130862 a(n) = (n-1)*(n+2)*(2*n+11)/2. 1
0, 30, 85, 171, 294, 460, 675, 945, 1276, 1674, 2145, 2695, 3330, 4056, 4879, 5805, 6840, 7990, 9261, 10659, 12190, 13860, 15675, 17641, 19764, 22050, 24505, 27135, 29946, 32944, 36135, 39525, 43120, 46926, 50949, 55195, 59670, 64380, 69331, 74529, 79980, 85690, 91665, 97911, 104434, 111240, 118335, 125725, 133416, 141414 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

Index entries for sequences related to linear recurrences with constant coefficients, signature (4,-6,4,-1).

FORMULA

a(n) = (5/2)*(n + 2)*(n + 3)*Sum[Sum[Sum[k^2 - 1, { k, 1, m}], {m, 1, j}], {j, 1, n}]/Sum[Sum[Sum[k, {k, 1, m}], {m, 1, j}], {j, 1, n}]=(1/2)(-1 + n))((2 + n)(11 + 2 n)

G.f.: x^2*(30-35*x+11*x^2)/(-1+x)^4. - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Nov 14 2007

a(0)=0, a(1)=30, a(2)=85, a(3)=171, a(n)=4a(n-1)-6a(n-2)+4a(n-3)-a(n-4) [From Harvey P. Dale, May 01 2011]

MATHEMATICA

Rest[CoefficientList[Series[x^2(30-35x+11x^2)/(-1+x)^4, {x, 0, 30}], x]] (* or *) LinearRecurrence[{4, -6, 4, -1}, {0, 30, 85, 171}, 30] (* From Harvey P. Dale, May 01 2011 *)

PROG

(MAGMA) [(n-1)*(n+2)*(2*n+11)/2: n in [1..50]]; // Vincenzo Librandi, May 02 2011

(PARI) a(n)=(2*n^3 + 13*n^2 + 7*n - 22)/2 \\ Charles R Greathouse IV, May 02, 2011

CROSSREFS

Cf. A055998.

Sequence in context: A155461 A165772 A098996 * A070756 A058903 A103906

Adjacent sequences:  A130859 A130860 A130861 * A130863 A130864 A130865

KEYWORD

nonn,easy

AUTHOR

Roger L Bagula (rlbagulatftn(AT)yahoo.com), Jul 22 2007

EXTENSIONS

Edited by N. J. A. Sloane, May 01 2011

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 16:49 EST 2012. Contains 206058 sequences.