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.

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

Original entry on oeis.org

2, 7, 18, 35, 58, 87, 122, 163, 210, 263, 322, 387, 458, 535, 618, 707, 802, 903, 1010, 1123, 1242, 1367, 1498, 1635, 1778, 1927, 2082, 2243, 2410, 2583, 2762, 2947, 3138, 3335, 3538, 3747, 3962, 4183, 4410, 4643, 4882, 5127, 5378, 5635, 5898, 6167, 6442
Offset: 1

Views

Author

Paul Curtz, Aug 28 2008

Keywords

Comments

First bisection of A133146.
Also first bisection of A271713. - Bruno Berselli, Mar 19 2021

Crossrefs

Cf. A000004 (third differences), A010722 (second differences).

Programs

Formula

a(n) = A133146(2*n-2) = (n - 2)^2 + (n - 1)*(n + 1) + n^2.
First differences: a(n+1) - a(n) = A016969(n-1).
G.f.: x*(2 + x + 3*x^2)/(1 - x)^3. - R. J. Mathar, Oct 15 2008
a(n) = 6*n + a(n-1) - 7 for n > 1, a(1)=2. - Vincenzo Librandi, Nov 25 2010
a(n) = 2*A000290(n)^2 + A067998(n-1) = 2*n^2 + (n - 1)*(n - 3). - L. Edson Jeffery, Nov 30 2013
From Elmo R. Oliveira, Nov 13 2024: (Start)
E.g.f.: exp(x)*(3*x^2 - x + 3) - 3.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n > 3. (End)

Extensions

Edited and extended by R. J. Mathar, Oct 15 2008