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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A081441 a(n) = (2*n^3-n^2-n+2)/2. 3
1, 1, 6, 22, 55, 111, 196, 316, 477, 685, 946, 1266, 1651, 2107, 2640, 3256, 3961, 4761, 5662, 6670, 7791, 9031, 10396, 11892, 13525, 15301, 17226, 19306, 21547, 23955, 26536, 29296, 32241, 35377, 38710, 42246, 45991, 49951, 54132, 58540, 63181 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

Diagonal in array of n-gonal numbers A081422.

LINKS

Harvey P. Dale, Table of n, a(n) for n = 0..1000

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

FORMULA

G.f.: (1-4*x+11*x^2-8*x^3)/(1-x)^5.

a(n) = (n + 1)*(2*n^2 - 3*n + 2)/2 = (n-1)*A005564(n+1) - n*A005564(n), where A005564(0..2) = 0, -1, 0. [Bruno Berselli, May 19 2015]

MAPLE

a:= n-> (2*n^3-n^2-n+2)/2: seq(a(n), n=0..50); # Zerinvary Lajos, Sep 13 2006

MATHEMATICA

Table[(2n^3-n^2-n+2)/2, {n, 0, 40}] (* Harvey P. Dale, May 29 2012 *)

CoefficientList[Series[(1 - 4 x + 11 x^2 - 8 x^3) / (1 - x)^5, {x, 0, 50}], x] (* Vincenzo Librandi, Aug 08 2013 *)

PROG

(MAGMA) [(2*n^3-n^2-n+2)/2: n in [0..50]]; // Vincenzo Librandi, Aug 08 2013

CROSSREFS

Cf. A005564, A081422, A081436, A081437, A081438.

Sequence in context: A216894 A212692 A034134 * A127760 A066188 A071239

Adjacent sequences:  A081438 A081439 A081440 * A081442 A081443 A081444

KEYWORD

nonn,easy

AUTHOR

Paul Barry, Mar 21 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 May 23 19:46 EDT 2017. Contains 286926 sequences.