Problem 2057 · Easy
Find the smallest index whose last decimal digit equals its value.
Open the interactive visualisation