Trying out some recursion based questions, came across this error.
\'i\' is the number of digits, which increments by 1. Where have I gone wrong?