Problem 3300 · Easy
Replace every number with its digit sum and keep the smallest result in one pass.
Open the interactive visualisation