OFFSET
0,1
COMMENTS
Cubes are assumed to be aligned in a 3D grid. Cubes with an exposed edge or corner are not considered enclosed.
EXAMPLE
For a(1) the solution is the number of neighbors in Moore's neighborhood in 3 dimensions (3^3-1 = 26).
For a(2) the solution is the neighbors in Moore's neighborhood in 3 dimensions plus the number of neighbors in 2 dimensions (3^2-1 = 8).
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Abraham Maxfield, Jun 10 2021
STATUS
approved