The greatest number of 6 digits exactly divisible by all the numbers between 1 and 10 (both inclusive) is...
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Relevant wiki: Divisibility Rules
Since the number we are searching for must be divisible by 9 , we first check m o d 9
⎩ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪ ⎧ 9 + 9 + 7 + 9 + 2 + 0 ≡ 0 m o d 9 9 + 9 + 9 + 7 + 6 + 8 ≡ 3 m o d 9 9 + 9 + 9 + 6 + 6 + 0 ≡ 3 m o d 9 9 + 9 + 9 + 7 + 6 + 0 ≡ 4 m o d 9
So the only possible answer is 9 9 7 9 2 0 , we just need to check modulo 8 , 5 and 7
9 9 7 9 2 0 ≡ 9 2 0 ≡ 8 0 0 + 1 2 0 ≡ 1 2 0 ≡ 0 m o d 8
9 9 7 9 2 0 ends with 0 so it is divisible by 5
9 9 7 9 2 0 ≡ 9 9 7 9 2 ≡ 9 9 7 9 − 4 ≡ 9 9 7 5 ≡ 9 9 7 − 1 0 ≡ 9 8 7 ≡ 9 8 − 1 4 ≡ 8 4 ≡ 0 m o d 7
Since L C M ( 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 1 0 ) = 2 5 2 0 and 9 9 7 9 2 0 + 2 5 2 0 = 1 0 0 0 4 4 0 , 9 9 7 9 2 0 is indeed the number we were searchin for