Problem 2310 · Medium
Try each count of numbers ending in k, since the units digit of a count times k repeats within ten steps.
Open the interactive visualisation