OFFSET
0,1
COMMENTS
The usual solution of the Birthday Problem, 1 - ((365!)/((365 - 23)! * 365^23)) = 0.507297... (A333507), is based on the assumption that all the years have 365 days.
The solution given by Nandor (2004) includes leap years, i.e., 97 years of 366 days in each cycle of 400 years of the Gregorian calendar.
With the addition of leap-year days, i.e., the possibility of having a birthday on February 29, the probability is reduced to 0.506876...
This constant is a rational number: its numerator and denominator have 111 and 112 digits, respectively.
The sequence has a period of 7.983424...*10^108.
LINKS
M. J. Nandor, Including Leap Year in the Canonical Birthday Problem, The Mathematics Teacher, Vol. 97, No. 2 (2004), pp. 87-89.
Eric Weisstein's World of Mathematics, Birthday Problem.
Wikipedia, Birthday problem.
Wikipedia, Gregorian calendar.
FORMULA
Equals 1 - (365!/((365 - 23)! * 365^23)) * (146000/146097)^23 * (1 + 97 * 365 * 23/146000/(366 - 23)).
EXAMPLE
0.50687609316527845522243931316051123777352699825485...
MATHEMATICA
RealDigits[1 - (365!/((365 - 23)! * 365^23)) * (146000/146097)^23 * (1 + 97 * 365 * 23/146000/(366 - 23)), 10, 100][[1]]
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Amiram Eldar, Apr 02 2021
STATUS
approved