Question 990684: A man, that day will be the date as the money is used to spending.
(Eg. 18 to Rs 18 on.) Once the 5 consecutive days was spent Rs 63, but which was 5 days (say dates)
Answer by ikleyn(52835) (Show Source):
You can put this solution on YOUR website! .
Let me re-formulate the problem in more clear way:
Mr. Z had a habit of spending money according to dates. i. e. If date is 19 he was spending Rs.19 and if date is 15, he was spending Rs. 15.
One night he calculated total spending of 5 consecutive days, and he found that he spent Rs. 63 in 5 days.
So, identify the dates.
Answer. There is only one solution:
28 and 29 of February (a leap-year) and 1, 2, and 3 of March.
(28 + 29 + 1 + 2 + 3 = 63).
Solution
If these days would be inside one month, then the dates are (x-2), (x-1), x, (x+1) and (x+2), where x is the date of the middle of 5 days.
Then the sum must be multiple of 5, since
(x-2) + (x-1) + x + (x+1) + (x+2) = 5x.
But the integer 63 is not multiple of 5. Contradiction.
Hence, the dates are partly the end of some month and the beginning of the next month.
Then, it is easy to check the the dates 28, 29, 1, 2 and 3 satisfy the condition 28 + 29 + 1 + 2 + 3 = 63.
Next, it is easy to see that there is no other solution.
|
|
|