In 2016, Mohan celebrated his birthday on Friday. Which will be the fi...
Since it has been mentioned that Mohan was not born in February, so he can’t be born on 29th Feb.
Hence He will celebrate his next birthday on a Wednesday in the year for which the sum of the odd days becomes 5 or a multiple of 5.
By his birthday in 2017, there will be 1 odd day.
By his birthday in 2018, there will be 2 odd days.
By his birthday in 2019, there will be 3 odd days.
By his birthday in 2020, there will be 5 odd days, as 2020 is a leap year.
So in 2020 He will celebrate his birthday on Wednesday.
View all questions of this test
In 2016, Mohan celebrated his birthday on Friday. Which will be the fi...
Analysis:
To solve this problem, we need to determine the number of days between 2016 and the year in which Mohan celebrates his birthday on a Wednesday. We can then divide this number by 7 to find the number of weeks, and add the remainder to Friday to determine the day of the week of Mohan's birthday in that year.
1. Number of days between 2016 and the year in which Mohan celebrates his birthday on a Wednesday:
Since Mohan did not celebrate his birthday in January or February, we need to consider the period from March to December in each year.
- From March to December in 2016, there are 10 months * 31 days = 310 days.
- In each subsequent year, there are 365 days.
- Therefore, the number of days between 2016 and the year in which Mohan celebrates his birthday on a Wednesday can be expressed as 310 + 365n, where n is the number of years.
2. Number of weeks between 2016 and the year in which Mohan celebrates his birthday on a Wednesday:
To find the number of weeks, we divide the number of days by 7 and take the integer part of the result.
- Number of weeks = floor((310 + 365n) / 7).
3. Remainder:
To determine the day of the week of Mohan's birthday in the year he celebrates it on a Wednesday, we need to find the remainder when the number of days is divided by 7.
- Remainder = (310 + 365n) % 7.
4. Determining the first year:
We need to find the smallest value of n for which the remainder is 2 (Wednesday).
- By trying different values of n, we find that 2020 is the first year after 2016 when Mohan will celebrate his birthday on a Wednesday.
Conclusion:
The first year after 2016 when Mohan will celebrate his birthday on a Wednesday is 2020.