Problem 3550 · Easy
Scan the indices in order and return the first one whose value has a digit sum equal to that index.
Open the interactive visualisation