Problem 2507 · Medium

Smallest Value After Replacing With Sum of Prime Factors

Repeatedly replace a number with the sum of its prime factors, counted with repeats, until the number stops changing.

Open the interactive visualisation