A345205 Minimum number of unit cubes needed to fully enclose n unit cubes in 3D space.
8, 26, 34, 42, 44, 52, 54, 56, 56, 64, 66, 68, 68, 76, 78, 80, 80, 82, 82, 90, 92, 94, 94, 96, 96, 98, 98, 98
Offset: 0
Examples
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).
Comments