OFFSET
0,1
COMMENTS
The number of vertices when starting with a cube (n=0) and iterating by dividing every cube into 8 equal cubes.
LINKS
Index entries for linear recurrences with constant coefficients, signature (15,-70,120,-64).
FORMULA
G.f.: (8 - 93*x + 280*x^2 - 216*x^3)/(1 - 15*x + 70*x^2 - 120*x^3 + 64*x^4). - Stefano Spezia, Apr 12 2021
EXAMPLE
a(2) = 125; since after iterating twice on the original cube, there are now 64 cubes inside. This 4 X 4 X 4 arrangement of cubes has 5*5=25 vertices on each face across the 5 slices, thus 125 vertices.
MATHEMATICA
(2^Range[0, 25] + 1)^3 (* Wesley Ivan Hurt, Apr 11 2021 *)
PROG
(Python)
def A343318(n): return (2**n+1)**3 # Chai Wah Wu, Feb 03 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Steve Bosze, Apr 11 2021
STATUS
approved