<t>Ok, ok, not only was there an error in my writing, but it was also incomprehensible altogether.And comparing it with Tomfr's solution, where given a number of the form 10^1999*A + B, where B has no zeros, 10^1999*A is subtracted off, the latter is certainly nicer.Tomfr, could you tell where does ...