A193218 Number of vertices in truncated tetrahedron with faces that are centered polygons.
1, 21, 95, 259, 549, 1001, 1651, 2535, 3689, 5149, 6951, 9131, 11725, 14769, 18299, 22351, 26961, 32165, 37999, 44499, 51701, 59641, 68355, 77879, 88249, 99501, 111671, 124795, 138909, 154049, 170251, 187551, 205985, 225589, 246399, 268451, 291781, 316425
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..10000
- OEIS, (Centered_polygons) pyramidal numbers
- Wikipedia, Tetrahedral number
- Wikipedia, Triangular number
- Wikipedia, Centered polygonal number
- Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
Crossrefs
Cf. A260810 (partial sums).
Programs
-
Magma
[6*n^3-9*n^2+5*n-1: n in [1..40]]; // Vincenzo Librandi, Aug 30 2011
-
Mathematica
Table[6 n^3 - 9 n^2 + 5 n - 1, {n, 35}] (* Alonso del Arte, Jul 18 2011 *) CoefficientList[Series[(1+x)*(x^2+16*x+1)/(1-x)^4, {x, 0, 50}], x] (* Stefano Spezia, Sep 04 2018 *)
Formula
a(n) = 6*n^3 - 9*n^2 + 5*n - 1.
G.f.: x*(1+x)*(x^2+16*x+1) / (1-x)^4. - R. J. Mathar, Aug 26 2011
a(n) = 18 * A000330(n-1) + A005408(n-1) = A063496(n) + A006331(n-1). - Bruce J. Nicholson, Jul 06 2018
Comments