OFFSET
1,2
COMMENTS
This is the number of ways n blocks can be placed on a 2D grid such that, after the first block, each block touches at least one face of a previously placed block, and each block either touches the ground plane or is supported by a block below it. See the attached file for a derivation.
The number of ways n squares can be placed similarly on a 1D line is given by A001792.
LINKS
Scott R. Shannon, Derivation of the title formula.
EXAMPLE
Considering the sequence as face-touching blocks:
a(1) = 1 as a single block can be placed in one way.
a(2) = 5 as, after the first block is placed, the second block can be placed so that it touches the ground plane and one of the four sides of the first block, or it can be placed directly on top of the first block, giving five total arrangements.
a(3) = 27 as the third block can be placed in one way directly on top of the tower of the two previous blocks, on the ground next to the tower of two blocks in four ways, next to one of the three faces of the second block on the ground plane or on top of the second block in 4*4 = 16 total ways, or on the ground plane touching one of the faces of the first block with the second block touching one of the other faces of the first block in 6 total ways. Summing the configurations gives 27 total ways the three blocks can be arranged.
CROSSREFS
KEYWORD
nonn
AUTHOR
Scott R. Shannon and Zach J. Shannon, Apr 08 2021
STATUS
approved