Will It ever?

Marvin had a birthday on Tuesday, May 27 in the leap year 2008. In what year will his birthday next fall on a Saturday?


The answer is 2017.

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.

6 solutions

May 27 2008 =TUESDAY May 27 2009=WED(Non leap year increase by one day) May 27 2010=THU, May 27 2011=FRI, May 27 2012=SUN(Leap Year Birthday date increases by 2 days ), May 27 2013=MON May 27 2014=TUE, May 27 2015=WED, May 27 2016=FRI(Leap Year Birthday date increases by 2 days ), May 27 2017=SATURDAY

yes i like. however i also worked on this logic .

suraj chandra - 6 years, 7 months ago
Ashwin Kannan
Oct 16, 2014

Well, the days of the week repeat themselves every 11 years. So May 27th is a Tuesday in 2008 as well as 2019. So going back, in 2007 May 27th is a Sunday (because of the leap year), and in 2006, May 27th is a Saturday. So then we have that 2017 is the next Saturday, May 27th.

In 2019 May 27th is a Monday.

Gino Pagano - 6 years, 7 months ago
Suraj Chandra
Oct 17, 2014

ITS SIMPLE. EVERY NEXT YEAR THE ADVANCE WITH 1DAY, BUT IN THE LEAP YEAR IT ADVANCES 2 DAYS AND AGAIN 1 DAY. LIKE THIS-2008 TUESDAY, 2009-WEDNESDAY, 2010-THURSDAY, 2011- FRIDAY BUT 2012-SUNDAY, 2013-MONDAY, ,2014-TUESDAY, 2015-WEDNESDAY, 2016-FRIDAY, 2017-SATURDAY.

Aravind M
Oct 15, 2014

Logic is: On same day may 27, 2009 wed 2010 thurs 2011 Fri 2012 sun leap year Same will be for year 2016 and 2017 may 27 will be a Saturday,,..... Advanced happy b'day Marvin....!

PS'' dividing 365 by 7 will help...( 7;days a week..)

It's easy to see the solution using modulo. Let the number of years be x. Taking simple scenarios, and since we know that the base year is a leap year, the day after the x'th year on which Tuesday will fall is:

(x + [x/4])%7 = 4

(4 because Saturday - Tuesday = 4 and [x] is the greatest Integer function)

Now substitute values for x and we get 9+ [9/2] = 9+2 = 11 and 11%7 = 4.

So x =9 i.e. 2017

James Moors
Oct 17, 2014

It's even easier if you treat the days of the week as numbers (Mon = 1, Tues = 2, ... Sat = 6, Sun = 0), add one or two for each year and then mod 7 the result.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...