PROJECT EULER · #0762
Amoebas in a 2D Grid
Consider a two dimensional grid of squares. The grid has 4 rows but infinitely many columns.
An amoeba in square
The following diagrams show two cases of an amoeba placed in square A of each grid. When it divides, it is replaced with two amoebas, one at each of the squares marked with B:
Originally there is only one amoeba in the square
For example,
Find
Write-up coming later
The complete problem is available here. An approach, code, and answer will be added later.