This problem may be trivially extended to ten digits (including 0). Zero will necessarily fall in the rightmost ( j ) position and the remainder of the problem is the nine digit one.
More information about formatting options
Finding the nine (ten?)
This problem may be trivially extended to ten digits (including 0).
Zero will necessarily fall in the rightmost ( j ) position and the remainder of the problem is the nine digit one.