One guy had a habit of spending the money as per the day of the month, for example he will spend $18 on 18th of the month.

Once he spent, $63 in continuous 5 days, What could be the dates ?

Lets assume all the days were of the same month, in that case

x + (x+1) + (x+2) + (x+3) + (x+4) = 63

5x = 53

x is coming out to be in decimal, which can not be. So the dates are not of the same month

Lets take the first case in which 4 dates are from one month and one date from next month

x + (x+1) + (x+2) + (x+3) + 1 = 63

4x = 56 => x = 14, but 1st cant come after 17th, so it is ruled out

Next case is 3 dates in one month and 2 in next month

x + (x+1) + (x+2) + 1 + 2 = 63

3x = 57 => x = 19, but again 1st cant come after 21, so it is ruled out as well

Now lets take 2 dates from one month and 3 dates from coming month.

x + (x+1) + 1 + 2 + 3 = 63

2x = 56 => x = 28, this is possible for the month with 29 days, i.e. February of leap year

So the continuous dates are

28th Feb

29th Feb

1st March

2nd March

3rd March

28+29+1+2+3 = $ 63

There is no comments