Discussion
This was originally in Acorn User magazine many years ago.
Find a 9-digit integer that is exactly divisible by 9.
Now remove the 9th digit to leave an 8-digit integer that is exactly divisible by 8.
Now remove the 8th digit to leave an 7-digit integer that is exactly divisible by 7.
And so on, down to a 1-digit integer that is obviously divisible by 1.
What is the 9-digit number? Is there more than one answer?
Find a 9-digit integer that is exactly divisible by 9.
Now remove the 9th digit to leave an 8-digit integer that is exactly divisible by 8.
Now remove the 8th digit to leave an 7-digit integer that is exactly divisible by 7.
And so on, down to a 1-digit integer that is obviously divisible by 1.
What is the 9-digit number? Is there more than one answer?
zippy3x said:
Tease....
Ok - with the new criteria it's down to 121
However i will pre-empt your next post and tell you that when the digits 0 to 9 can only appear one it goes down to 4
381654720
381654729
783204165
801654723
381654729 was the answer I was looking for, and is the only solution without using zero.Ok - with the new criteria it's down to 121
However i will pre-empt your next post and tell you that when the digits 0 to 9 can only appear one it goes down to 4
381654720
381654729
783204165
801654723
I wrote a BASIC program to solve it on my mate's Dragon 32. I recall it ran for around 30 minutes before finding the solution.
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff