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.

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.