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 .