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.

By submitting this form, you accept the Mollom privacy policy.