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.

A277104 a(n) = 9*3^n - 15.

Original entry on oeis.org

12, 66, 228, 714, 2172, 6546, 19668, 59034, 177132, 531426, 1594308, 4782954, 14348892, 43046706, 129140148, 387420474, 1162261452, 3486784386, 10460353188, 31381059594, 94143178812, 282429536466, 847288609428, 2541865828314, 7625597484972, 22876792454946
Offset: 1

Views

Author

Emeric Deutsch, Nov 05 2016

Keywords

Comments

a(n) is the first Zagreb index of the Hanoi graph H[n].
The first Zagreb index of a simple connected graph is the sum of the squared degrees of its vertices. Alternately, it is the sum of the degree sums d(i)+d(j) over all edges ij of the graph.
The M-polynomial of the Hanoi graph H[n] is M(H[n],x,y) = 6*x^2*y^3 + (3/2)*(3^n - 5)*x^3*y^3.

Crossrefs

Cf. A277105.

Programs

Formula

O.g.f.: 6*x*(2 + 3*x)/((1 - x)*(1 - 3*x)).
E.g.f.: 3*(1 - exp(x))*(2 - 3*exp(x) - 3*exp(2*x)). - Bruno Berselli, Nov 14 2016
a(n) = 3*A168613(n+1). - R. J. Mathar, Apr 07 2022