Made to Order

Arrange the digits 0-9 into a 10-digit number such that the leftmost n digits comprise a number divisible by n. For example, if the number is ABCDEFGHIJ, the number ABC must be divisible by 3, ABCDE must be divisible by 5, and so on.

Click for Answer