Calvin goes into the local "7-11" store and buys four items. The bill totals . He notices that the product of the four prices is also exactly .
If the ascending order of the prices of the four items in dollars is , and then, if the value of can be expressed as for positive coprime integers . Submit the value of as your answer.
Note : The four numbers have at most two places of decimals.
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.
We can multiply each number by 100. Then: A × B × C × D A + B + C + D = 7 1 1 , 0 0 0 , 0 0 = 7 1 1
7 1 1 0 0 0 0 0 0 = 2 6 × 3 2 × 5 6 × 7 9 . Let's be A multiples of 7 9 .
If A = 7 9 × 5 , then B ≈ C ≈ D ≈ 3 7 1 1 − 7 9 × 5 ≈ 1 0 5 . Therfore the maximum vaslue of A × B × C × D is ( 7 9 × 5 ) × 1 0 5 × 1 0 5 × 1 0 6 = 4 6 1 6 1 6 7 5 0 < 7 1 1 0 0 0 0 0 0 . Therefore A < 7 9 × 5
Nove prove that: 5 ∣ B , C , D :
Therefore 5 ∣ B , C , D .
Now let's see the last digits:
Now, the last digit of 7 1 1 , so the last digit of A should be equal to 6 , because 5 + 6 → 1 . Therefore A = 7 9 × 4 = 3 1 6 . Now there are two opportunities:
Now let's see the second last digit(second digit from the end of the number):
The carry over from the last digits is ⌊ 1 0 6 + 0 + 0 + 5 ⌋ = 1 . [ A ] + [ B ] + [ C ] + [ D ] + 1 (carry over) ( m o d 1 0 ) = [ 7 1 1 ] [ B ] + [ C ] + [ D ] = 1 = 9
With some calculations [ B , C , D ] ∈ 2 , 5 , 7 .
With simple logic the only solution is: [ B ] [ C ] [ D ] = 5 = 2 = 2
With a few trial and error and logic:
A B C D = 3 1 6 = 1 5 0 = 1 2 5 = 1 2 0
But the problem says this should be in ascending order, so the final solution is:
A B C D = 1 . 2 0 = 1 . 2 5 = 1 . 5 0 = 3 . 1 6 ⟹ B D + A C = 1 . 2 5 3 . 1 6 + 1 . 2 1 . 5 = 6 0 0 1 8 8 9 ⟹ M + N = 2 3 8 9