All Questions
1 question
7
votes
2
answers
1k
views
Numbers with all N-digit prefixes divisible by N
In base 10, the number 3816547290 contains every digit exactly once. When I take the first N digits, that substring is divisible by N. For example, 381 is divisible by 3, 38165 is divisible by 5, etc. ...