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.

A143689 a(n) = (3*n^2 - n + 2)/2.

Original entry on oeis.org

1, 2, 6, 13, 23, 36, 52, 71, 93, 118, 146, 177, 211, 248, 288, 331, 377, 426, 478, 533, 591, 652, 716, 783, 853, 926, 1002, 1081, 1163, 1248, 1336, 1427, 1521, 1618, 1718, 1821, 1927, 2036, 2148, 2263, 2381, 2502, 2626, 2753, 2883, 3016, 3152, 3291
Offset: 0

Views

Author

Gary W. Adamson, Aug 29 2008

Keywords

Comments

Equals left border of triangle A033292.
Equals binomial transform of [1, 1, 3, 0, 0, 0, ...].
A242357(a(n)) = 1. - Reinhard Zumkeller, May 11 2014
These might be called "trisected pentagonal numbers": A figurate pentagonal number is composed of three triangles, of which the central one is the largest, and the removal of the triangular frame (3*n) of the central triangle trisects the figure. This is reflected in the formula a(n) = A000326(n+1) - 3*n. See illustration in links. - John Elias, May 27 2022

Crossrefs

a(n) = A000326(n+1) - 3n. Third column of A107111.

Programs

Formula

a(n) = A000326(n+1) - 3*n. (A000326 are the pentagonal numbers.)
a(n) = (3*n^2 - n + 2)/2 = A027599(n+1)/2. - R. J. Mathar, Sep 03 2008
a(n) = a(n-1) + 3*n - 2 (with a(0)=1). - Vincenzo Librandi, Nov 25 2010
a(n) = 2*a(n-1) - a(n-2) + 3.
O.g.f.: (1-x+3*x^2)/((1-x)^3). - Eric Werley, Jun 27 2011
a(n) = A104249(-n). - Bruno Berselli, Jul 08 2015
a(n) = binomial(n,2) + n^2 + 1 = A152947(n+1) + A000290(n). - Franck Maminirina Ramaharo, Mar 01 2018
E.g.f.: exp(x)*(2 + 2*x + 3*x^2)/2. - Stefano Spezia, Apr 19 2025

Extensions

Index of A000326 in definition, formula and example corrected by R. J. Mathar, Sep 03 2008