For a leap year and non-leap year there will be 31 days in the month of January
Number of days in week =7
If 1st of January is a Monday then
1,8,15,22,29
If 2nd of January is a Monday then
2,9,16,23,30
If 3rd of January is a Monday the
3,10,17,24,31
So,
Number weeks of 5 mondays=3
Probability=