Problem 2310 · Medium

Sum of Numbers With Units Digit K

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