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!)
A242659 a(n) = n*(n^2 - 3*n + 4). 2
0, 2, 4, 12, 32, 70, 132, 224, 352, 522, 740, 1012, 1344, 1742, 2212, 2760, 3392, 4114, 4932, 5852, 6880, 8022, 9284, 10672, 12192, 13850, 15652, 17604, 19712, 21982, 24420, 27032, 29824, 32802, 35972, 39340, 42912, 46694, 50692, 54912, 59360 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
An exercise in my secondary school algebra book.
REFERENCES
C. Smith, A Treatise on Algebra, Macmillan, London, 5th ed., 1950, p. 429, Example 2(i).
LINKS
FORMULA
From Chai Wah Wu, May 30 2016: (Start)
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4) for n > 3.
G.f.: 2*x*(4*x^2 - 2*x + 1)/(x - 1)^4. (End)
MAPLE
A242659:=n->n*(n^2 - 3*n + 4): seq(A242659(n), n=0..80); # Wesley Ivan Hurt, May 30 2016
MATHEMATICA
Table[n*(n^2 - 3*n + 4), {n, 0, 60}] (* Wesley Ivan Hurt, May 30 2016 *)
LinearRecurrence[{4, -6, 4, -1}, {0, 2, 4, 12}, 40] (* Vincenzo Librandi, Sep 07 2016 *)
PROG
(Magma) [n*(n^2 - 3*n + 4) : n in [0..60]]; // Wesley Ivan Hurt, May 30 2016
CROSSREFS
Partial sums of A242658.
Sequence in context: A148192 A192531 A323864 * A109388 A302919 A181329
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 30 2014
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 16 16:13 EDT 2024. Contains 371749 sequences. (Running on oeis4.)