PROJECT EULER · #0823
Factor Shuffle
A list initially contains the numbers
At each round, every number in the list is divided by its smallest prime factor. Then the product of these smallest prime factors is added to the list as a new number. Finally, all numbers that become
For example, below are the first three rounds for
For example,
Find
Write-up coming later
The complete problem is available here. An approach, code, and answer will be added later.