wu :: forums
« wu :: forums - Selecting Leap Years at Random »

Welcome, Guest. Please Login or Register.
Nov 28th, 2024, 3:52am

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   easy
(Moderators: Icarus, towr, SMQ, Grimbal, william wu, ThudnBlunder, Eigenray)
   Selecting Leap Years at Random
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Selecting Leap Years at Random  (Read 506 times)
TenaliRaman
Uberpuzzler
*****



I am no special. I am only passionately curious.

   


Gender: male
Posts: 1001
Selecting Leap Years at Random  
« on: Aug 22nd, 2003, 9:03am »
Quote Quote Modify Modify

What is the chance that a leap year selected at random contains 53 sundays?
 
//Title modified by Icarus to be more descriptive.
« Last Edit: Sep 20th, 2003, 6:48pm by Icarus » IP Logged

Self discovery comes when a man measures himself against an obstacle - Antoine de Saint Exupery
ThudnBlunder
wu::riddles Moderator
Uberpuzzler
*****




The dewdrop slides into the shining Sea

   


Gender: male
Posts: 4489
Re: Should be damn easy!  
« Reply #1 on: Aug 22nd, 2003, 9:56am »
Quote Quote Modify Modify

366 days = 52 weeks + 2 days.  
So a leap year will have 53 Sundays if Jan 1st is on Saturday or Sunday.
 
Therefore chance = 2/7
 
What is the chance that ANY year chosen at random will have 53 Sundays?
 
« Last Edit: Aug 22nd, 2003, 9:58am by ThudnBlunder » IP Logged

THE MEEK SHALL INHERIT THE EARTH.....................................................................er, if that's all right with the rest of you.
tohuvabohu
Junior Member
**





   


Gender: male
Posts: 102
Re: Should be damn easy!  
« Reply #2 on: Aug 22nd, 2003, 11:10am »
Quote Quote Modify Modify

It should be easy, but it's not.
The days of the week are not evenly distributed because of the way 3 out of 4 century years are not leap years.
Every 400 years the calendar repeats itself (400*365+97 leap days is divisible by 7). But since 97 is not divisible by 7, the answer can not possibly be 2/7.
If I did it correctly, the answer is 28/97 on a leap year
and 71/400 for any year (using the gregorian calendar).
IP Logged
Sameer
Uberpuzzler
*****



Pie = pi * e

   


Gender: male
Posts: 1261
Re: Should be damn easy!  
« Reply #3 on: Aug 22nd, 2003, 11:19am »
Quote Quote Modify Modify

I got a different answer:
 
Considering 1 in 4 years is a leap year...  
 
3*(3/4)*(1/7)+(1/4)*(2/7) = 11/28
IP Logged

"Obvious" is the most dangerous word in mathematics.
--Bell, Eric Temple

Proof is an idol before which the mathematician tortures himself.
Sir Arthur Eddington, quoted in Bridges to Infinity
TenaliRaman
Uberpuzzler
*****



I am no special. I am only passionately curious.

   


Gender: male
Posts: 1001
Re: Should be damn easy!  
« Reply #4 on: Aug 22nd, 2003, 11:28am »
Quote Quote Modify Modify

i get some really odd result like 5/28.
 
My reasoning :

consider 4N years.
N years will be leap years and 3N years will be non-leap years.
so the required probability would be,
P  
= limN->oo[C(N,1)*(2/7)+C(3N,1)*(1/7)]/C(4N,1)
= 5/28
 
I maybe totally wrong ... if so please do clarify them.
« Last Edit: Aug 22nd, 2003, 11:30am by TenaliRaman » IP Logged

Self discovery comes when a man measures himself against an obstacle - Antoine de Saint Exupery
Sir Col
Uberpuzzler
*****




impudens simia et macrologus profundus fabulae

   
WWW

Gender: male
Posts: 1825
Re: Should be damn easy!  
« Reply #5 on: Aug 22nd, 2003, 11:37am »
Quote Quote Modify Modify

But as tohuvabohu has already pointed out, a leap year is every 4 years except on a century, unless the century is divisible by 400 (2000 was, 1900 wasn't). So it is not 1/4=100/400, it's 97/400.
 
As T&B stated, for a leap year (366 days) to have 53 Sundays, 1st Jan must be Sat or Sun. In a normal year, 1st Jan must be Sun
Therefore, P(53 Sundays in a year)=97/400*2/7+303/400*1/7=71/400 (confirming tohuvabohu's answer)
IP Logged

mathschallenge.net / projecteuler.net
TenaliRaman
Uberpuzzler
*****



I am no special. I am only passionately curious.

   


Gender: male
Posts: 1001
Re: Should be damn easy!  
« Reply #6 on: Aug 22nd, 2003, 11:52am »
Quote Quote Modify Modify

71/400 = .1775
5/28 = .1785
 
hey i wasn't far off by much  Grin
IP Logged

Self discovery comes when a man measures himself against an obstacle - Antoine de Saint Exupery
Sameer
Uberpuzzler
*****



Pie = pi * e

   


Gender: male
Posts: 1261
Re: Should be damn easy!  
« Reply #7 on: Aug 22nd, 2003, 2:33pm »
Quote Quote Modify Modify

*kicks myself for making silly mistakes*
 
that's why I never got perfect scores  Undecided
IP Logged

"Obvious" is the most dangerous word in mathematics.
--Bell, Eric Temple

Proof is an idol before which the mathematician tortures himself.
Sir Arthur Eddington, quoted in Bridges to Infinity
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board