A367707 Number of degree 6 vertices in the n-Menger sponge graph.
0, 8, 456, 14312, 338376, 7218536, 148082760, 2991665384, 60074332872, 1203417692264, 24083810625864, 481799892270056, 9636987359949768, 192747663544965992, 3855016602355831368, 77100838700834961128, 1542020827252644619464, 30840448970959051746920, 616809238826486098348872
Offset: 1
Examples
The level 1 Menger sponge graph is a cube with each edge subdivided, which has 12 degree 2 vertices and 8 degree 3 vertices. Thus a(1) = 0.
Links
- Allan Bickle, Degrees of Menger and Sierpinski Graphs, Congr. Num. 227 (2016) 197-208.
- Allan Bickle, MegaMenger Graphs, The College Mathematics Journal, 49 1 (2018) 20-26.
- Index entries for linear recurrences with constant coefficients, signature (32,-275,724,-480).
Crossrefs
Programs
-
Mathematica
LinearRecurrence[{32,-275,724,-480},{0,8,456,14312},25] (* Paolo Xausa, Nov 29 2023 *)
-
Python
def A367707(n): return ((5**(n+1)<<(n<<1)+1)-(51<<(3*n+1))+(3**(n+3)<<4))//85-8 # Chai Wah Wu, Nov 28 2023
Formula
a(n) = (2/17)*20^n - (6/5)*8^n + (432/85)*3^n - 8.
a(n) = 20*a(n-1) + (9/5)*8^n - (144/5)*3^n + 152.
G.f.: 8*x^2*(1 + 25*x + 240*x^2)/((1 - x)*(1 - 3*x)*(1 - 8*x)*(1 - 20*x)). - Stefano Spezia, Nov 28 2023
Comments