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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A033445 a(n) = (n - 1)*(n^2 + n - 1). 6
1, 0, 5, 22, 57, 116, 205, 330, 497, 712, 981, 1310, 1705, 2172, 2717, 3346, 4065, 4880, 5797, 6822, 7961, 9220, 10605, 12122, 13777, 15576, 17525, 19630, 21897, 24332, 26941, 29730, 32705, 35872, 39237, 42806, 46585, 50580, 54797, 59242, 63921 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

Binomial transform of 1, -6, 6, 0, 0, 0, (0 continued). - R. J. Mathar, Nov 29 2015

REFERENCES

Graham et al., Handbook of Combinatorics, Vol. 2, p. 1243.

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..780

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

FORMULA

a(0)=1, a(1)=0, a(2)=5; for n>2, a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) + 6. - Gionata Neri, May 12 2015

From Robert Israel, May 12 2015: (Start)

O.g.f.: (1 - 4*x + 11*x^2 - 2*x^3)/(1-x)^4.

E.g.f.: (1 - x + 3*x^2 + x^3)*exp(x). (End)

MAPLE

[seq (1-2*n+n^3, n=0..60)]; # Zerinvary Lajos, May 28 2006

MATHEMATICA

Table[(n - 1) (n^2 + n - 1), {n, 0, 40}] (* Michael De Vlieger, May 12 2015 *)

PROG

(MAGMA) [(n-1)*(n^2+n-1): n in [0..40]]; // Vincenzo Librandi, Apr 27 2011

(PARI) vector(50, n, n--; (n-1)*(n^2+n-1)) \\ Anders Hellström, Nov 29 2015

CROSSREFS

Sequence in context: A273677 A209116 A301499 * A208946 A245301 A256971

Adjacent sequences:  A033442 A033443 A033444 * A033446 A033447 A033448

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 22 22:38 EDT 2019. Contains 322380 sequences. (Running on oeis4.)