(In reply to re: possible solution
Well, the method's always more important than the exact result!
I was a bit fuzzy about converting n to N, but it works fine actually. If 1991 has 2 nines, then N has (180+2) = 182 nines.
Edited on January 29, 2016, 11:26 am
Posted by broll
on 2016-01-29 11:16:28