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.

## 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.