PROJECT EULER · #0822
Square the Smallest
A list initially contains the numbers
At each round, the smallest number in the list is replaced by its square. If there is more than one such number, then only one of them is replaced.
For example, below are the first three rounds for
Let
For example,
Find
Write-up coming later
The complete problem is available here. An approach, code, and answer will be added later.