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.

User: Mikhail Lavrov

Mikhail Lavrov's wiki page.

Mikhail Lavrov has authored 1 sequences.

A380996 a(n) is the number of vertices in the n-fold iterated barycentric subdivision of a triangle (or 2-simplex).

Original entry on oeis.org

3, 7, 25, 121, 673, 3937, 23425, 140161, 840193, 5039617, 30234625, 181401601, 1088397313, 6530359297, 39182106625, 235092541441, 1410555052033, 8463329918977, 50779978727425, 304679870791681, 1828079221604353, 10968475323334657, 65810851927425025, 394865111539384321
Offset: 0

Author

Mikhail Lavrov, Feb 11 2025

Keywords

Comments

The barycentric subdivision of a triangle divides it into six smaller triangles by drawing the three medians; new vertices are added at the midpoints of the sides and at the centroid, where the medians intersect. To iterate this process, take the barycentric subdivision of all the triangles created in the process.
Viewed as a planar graph, the n-fold barycentric subdivision has 6^n triangles and an unbounded face of length 3*2^n. Taking half the sum of the face lengths, we conclude that there are (3*6^n + 3*2^n)/2 edges. Finally, we can find the number of vertices by Euler's formula, V-E+F=2.

Examples

			a(0)=1 because a triangle has 3 vertices. After one barycentric subdivision, we add 3 vertices at the midpoints of the sides, and 1 vertex at the center, for a(1)=7 vertices total. A second barycentric subdivision adds 12 more midpoints and 6 more centroids, so a(2)=25.
		

Crossrefs

Programs

  • Mathematica
    Table[(6^n + 3*2^n)/2 + 1, {n, 0, 50}]
  • Python
    def A380996(n): return 3**n+3<Chai Wah Wu, Mar 10 2025

Formula

a(n) = (6^n + 3*2^n)/2 + 1.
From Stefano Spezia, Feb 23 2025: (Start)
G.f.: (3 - 20*x + 22*x^2)/((1 - x)*(1 - 2*x)*(1 - 6*x)).
E.g.f.: exp(x)*(2 + 3*exp(x) + exp(5*x))/2. (End)
a(n) = 3*A074502(n-1) - 2 for n>0. - Hugo Pfoertner, Feb 23 2025