cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A242659 a(n) = n*(n^2 - 3*n + 4).

Original entry on oeis.org

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
Offset: 0

Views

Author

N. J. A. Sloane, May 30 2014

Keywords

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).

Crossrefs

Partial sums of A242658.

Programs

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)