What is the minimum integer such that the above expression is an integer?
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: Decimals
Method 1 : Multiply the 3 decimals out
With enough patience, we can see that 1 . 2 × 3 . 4 5 × 6 . 7 8 9 = 2 8 . 1 0 6 4 6 0 , by keeping track the total number of decimal places ( 1 + 2 + 3 = 6 ). And we need to find out the minimum value of n such that 2 8 . 1 0 6 4 6 0 × 1 0 n is an integer.
2 8 . 1 0 6 4 6 0 × 1 0 1 2 8 . 1 0 6 4 6 0 × 1 0 2 2 8 . 1 0 6 4 6 0 × 1 0 3 2 8 . 1 0 6 4 6 0 × 1 0 4 2 8 . 1 0 6 4 6 0 × 1 0 5 = = = = = 2 8 1 . 0 6 4 6 0 not an integer 2 8 1 0 . 6 4 6 0 not an integer 2 8 1 0 6 . 4 6 0 not an integer 2 8 1 0 6 4 . 6 0 not an integer 2 8 1 0 6 4 6 . 0 is an integer!
Hence, our answer is 5 .
Method 2 : Modular arithmetic
Let the fractional part of 1 . 2 × 3 . 4 5 × 6 . 7 8 9 be 0 . A 1 A 2 A 3 A 4 A 5 A 6 A 7 … , where A 1 , A 2 , A 3 , … are single digits.
Notice that we're multiplying decimal numbers, and the total number of decimal places involved is 6, so all the digits after the sixth decimal places are all 0's, A 7 = A 8 = A 9 = ⋯ = 0 .
1 . 2 × 3 . 4 5 × 6 . 7 8 9 = 1 0 1 2 × 1 0 0 3 4 5 × 1 0 0 0 6 7 8 9 = 1 0 6 1 ( 1 2 × 3 4 5 × 7 6 8 9 )
And so, our 6-digit integer, A 1 A 2 A 3 A 4 A 5 A 6 is the last 6 digits of 1 2 × 3 4 5 × 7 6 8 9 .
Equivalently, A 6 is the last digit of 1 2 × 3 4 5 × 6 7 8 9 , which can be found by multiplying the last digits: 2 × 5 × 9 ≡ 5 ( m o d 1 0 ) .
And, the 2-digit number A 5 A 6 = A 5 0 is the last two digits of 1 2 × 3 4 5 × 6 7 8 9 , which can be found by multiplying the last two digits, 1 2 × 4 5 × 8 9 ≡ 6 0 ( m o d 1 0 0 ) .