PROJECT EULER · #0519
Tricoloured Coin Fountains
An arrangement of coins in one or more rows with the bottom row being a block without gaps and every coin in a higher row touching exactly two coins in the row below is called a fountain of coins. Let

Therefore
Let

You are given that
Find the last
Write-up coming later
The complete problem is available here. An approach, code, and answer will be added later.