Amoebas in a 3D grid
Consider a three dimensional grid of cubes. An amoeba in cube can divide itself into three amoebas to occupy the cubes , and , provided these cubes are empty.
Originally there is only one amoeba in the cube . After divisions there will be amoebas arranged in the grid. An arrangement may be reached in several different ways but it is only counted once. Let be the number of different possible arrangements after divisions.
For example, , , and the last nine digits of are .
Find , enter the last nine digits as your answer.
三维格阵中的阿米巴原虫
考虑一个三维格阵。原本位于方格中的一只阿米巴原虫,在目标方格没有被占据的情况下,可以将自身分裂成三只阿米巴原虫,并分别占据方格,和。
一开始只有一只阿米巴原虫位于方格。经过次分裂之后,格阵中将会分布有只阿米巴原虫。不同的分裂顺序可能形成相同的分布情况,这些分布均算作相同的分布。记为经过次分裂后所有可能的不同分布的总数。
例如,,,,而的最后九位数字是。
求,并将其最后九位数字作为你的答案。
Gitalking ...