New Scientist Puzzle 102 – Passport to Success
by Zoe Mensch
From New Scientist #3323, 27th February 2021
My nine-digit passport number has some remarkable properties. Not only does it use all the digits from 1 to 9, but if I label the number ABCDEFGHI, then:
A is divisible by 1
AB is divisible by 2
ABC is divisible by 3
ABCD is divisible by 4
ABCDE is divisible by 5
ABCDEF is divisible by 6
ABCDEFG is divisible by 7
ABCDEFGH is divisible by 8
ABCDEFGHI is divisible by 9
You could program a computer to find this passport number, but there are shortcuts to figuring it out with a pen and paper. For example, a number is only divisible by 3 if its digits add up to a multiple of 3 (e.g.: 372 is divisible by 3 because 3+7+2 = 12). And a number is only divisible by 4 if its last two digits form a number that is also a multiple of 4 (hence 9324 is divisible by 4 because 24 also is).
What is my passport number?
Now with a speed improvement spotted by Frits.