Watch a musician play the world’s largest instrument, an organ built by a Pentagon mathematician in Luray Caverns, Virginia. (This was a favorite destination of mine when I was a boy.)
Category: Popular Culture
Heat Index
Single-Digit NFL scores
Stay Focused
From Kirk Cousins, quarterback of the Washington Redskins:
Sometimes our guests ask why I have this hanging above my desk. It’s an old high school math quiz when I didn’t study at all and got a C+… just a subtle reminder to me of the importance of preparation. If I don’t prepare I get C’s!

Pizza Hut Pi Day Challenge: Index
I’m doing something that I should have done a long time ago: collecting a series of posts into one single post. The following links comprised my series on the 2016 Pizza Hut Pi Day Challenge.
Part 1: Statement of the problem.
Part 2: Using the divisibility rules for 1, 5, 9, 10 to reduce the number of possibilities from 3,628,800 to 40,320.
Part 3: Using the divisibility rule for 2 to reduce the number of possibilities to 576.
Part 4: Using the divisibility rule for 3 to reduce the number of possibilities to 192.
Part 5: Using the divisibility rule for 4 to reduce the number of possibilities to 96.
Part 6: Using the divisibility rule for 8 to reduce the number of possibilities to 24.
Part 7: Reusing the divisibility rule for 3 to reduce the number of possibilities to 10.
Part 8: Dividing by 7 to find the answer.
Facebook Birthday Problem: Part 5
Recently, I devised the following problem:
Suppose that you have n friends, and you always say “Happy Birthday” to each friend on his/her birthday. On how many days of the year will you not say “Happy Birthday” to one of your friends?
Until somebody tells me otherwise, I’m calling this the Facebook birthday problem in honor of Facebook’s daily alerts to say “Happy Birthday” to friends.
Here’s how I solved this problem. Let be an indicator random variable for “no friend has a birthday on day
, where
stands for February 29 and
stand for the “usual” 365 days of the year. Therefore, the quantity
, representing the number of days of the year on which no friend has a birthday, can be written as
In yesterday’s post, I began the calculation of the standard deviation of by first computing its variance. This calculation is complicated by the fact that
are dependent. Yesterday, I showed that
.
To complete this calculation, I’ll now find , where
. I’ll use the usual computation formula for a covariance,
.
We have calculated earlier in this series. In any four-year span, there are
days, of which only one is February 29. Assuming the birthday’s are evenly distributed (which actually doesn’t happen in real life), the chance that someone’s birthday is not on day
is
,
so that the probability that no friend has a birthday on day is
.
Therefore, since the expected value of an indicator random variable is the probability that the event happens, we have
for . Similarly,
,
so that
.
To find , we note that since
is equal to either 0 or 1 and
is equal to either 0 or 1, the product
can only equal 0 and 1 as well. Therefore,
is itself an indicator random variable. Furthermore,
if and only if
and
, which means that no friends has a birthday on either day
or day
(that is, February 29). The chance that someone doesn’t have a birthday on day
or February 29 is
,
so that the probability that no friend has a birthday on day or February 29 is
.
Therefore, as before,
,
so that
.
Therefore,
,
and we find the standard deviation of using
.
The graph below shows the expected value of , which was shown earlier to be
,
along with error bars representing two standard deviations.
Interestingly, the standard deviation of changes for different values of
; a direct calculation shows that the
is maximized at
with maximum value of approximately
. Accordingly, for
and
, the error bars in the above figure have a total width of approximately 24 days (two standard deviations both above and below the expected value).
Facebook Birthday Problem: Part 4
Recently, I devised the following problem:
Suppose that you have n friends, and you always say “Happy Birthday” to each friend on his/her birthday. On how many days of the year will you not say “Happy Birthday” to one of your friends?
Until somebody tells me otherwise, I’m calling this the Facebook birthday problem in honor of Facebook’s daily alerts to say “Happy Birthday” to friends.
Here’s how I solved this problem. Let be an indicator random variable for “no friend has a birthday on day
, where
stands for February 29 and
stand for the “usual” 365 days of the year. Therefore, the quantity
, representing the number of days of the year on which no friend has a birthday, can be written as
In yesterday’s post, I began the calculation of the standard deviation of by first computing its variance. This calculation is complicated by the fact that
are dependent. Yesterday, I showed that
To complete this calculation, I’ll now find the covariances. I’ll begin with if
; that is, if
and
are days other than February 29. I’ll use the usual computation formula for a covariance,
.
We have calculated earlier in this series. In any four-year span, there are
days, of which only one is February 29. Assuming the birthday’s are evenly distributed (which actually doesn’t happen in real life), the chance that someone’s birthday is not on day
is
,
so that the probability that no friend has a birthday on day is
.
Therefore, since the expected value of an indicator random variable is the probability that the event happens, we have
for . Therefore,
.
To find , we note that since
is equal to either 0 or 1 and
is equal to either 0 or 1, the product
can only equal 0 and 1 as well. Therefore,
is itself an indicator random variable, which I’ll call
. Furthermore,
if and only if
and
, which means that no friends has a birthday on either day
or day
. The chance that someone doesn’t have a birthday on day
or day
is
,
so that the probability that no friend has a birthday on day or
is
.
Therefore, as before,
,
so that
.
Since there are pairs
so that
, we have
,
or
.
The calculation of is similar to the above calculation; I’ll write this up in tomorrow’s post.
Facebook Birthday Problem: Part 3
Recently, I devised the following problem:
Suppose that you have n friends, and you always say “Happy Birthday” to each friend on his/her birthday. On how many days of the year will you not say “Happy Birthday” to one of your friends?
Until somebody tells me otherwise, I’m calling this the Facebook birthday problem in honor of Facebook’s daily alerts to say “Happy Birthday” to friends.
Here’s how I solved this problem. Let be an indicator random variable for “no friend has a birthday on day
, where
stands for February 29 and
stand for the “usual” 365 days of the year. Therefore, the quantity
, representing the number of days of the year on which no friend has a birthday, can be written as
In yesterday’s post, I showed that
.
The calculation of the standard deviation of is considerably more complicated, however, since the
are dependent. So we will begin by computing the variance of
:
,
or
For the first term, we recognize that, in any four-year span, there are days, of which only one is February 29. Assuming the birthday’s are evenly distributed (which actually doesn’t happen in real life), the chance that someone’s birthday is not on day
is
.
Therefore, the chance that all friends don’t have a birthday on day
is
.
Using the formula for the variance of an indicator random variable, we see that
for . Similarly, for the second term,
Therefore, so far we have shown that
In tomorrow’s post, I’ll complete this calculation by finding the covariances.
Facebook Birthday Problem: Part 2
Recently, I devised the following problem:
Suppose that you have n friends, and you always say “Happy Birthday” to each friend on his/her birthday. On how many days of the year will you not say “Happy Birthday” to one of your friends?
Until somebody tells me otherwise, I’m calling this the Facebook birthday problem in honor of Facebook’s daily alerts to say “Happy Birthday” to friends.
Here’s how I solved this problem. Let be an indicator random variable for “no friend has a birthday on day
, where
stands for February 29 and
stand for the “usual” 365 days of the year. Therefore, the quantity
, representing the number of days of the year on which no friend has a birthday, can be written as
Let’s start with any of the “usual” days. In any four-year span, there are days, of which only one is February 29. Assuming the birthday’s are evenly distributed (which actually doesn’t happen in real life), the chance that someone’s birthday is not on day
is
.
Therefore, the chance that all friends don’t have a birthday on day
is
.
Since the expected value of an indicator random variable is the probability of the event, we see that
for . Similarly, the expected value for the indicator for February 29 is
.
Since even if
and
are dependent, we therefore conclude that
.
This function is represented by the red dots on the graph below.
In tomorrow’s post, I’ll calculate of the standard deviation of .
Facebook Birthday Problem: Part 1
The “birthday problem” is one of the classic problems in elementary probability because of its counter-intuitive solution. From Wikipedia:
In probability theory, the birthday problem or birthday paradox concerns the probability that, in a set of n randomly chosen people, some pair of them will have the same birthday. By the pigeonhole principle, the probability reaches 100% when the number of people reaches 367 (since there are only 366 possible birthdays, including February 29). However, 99.9% probability is reached with just 70 people, and 50% probability with 23 people. These conclusions are based on the assumption that each day of the year (except February 29) is equally probable for a birthday.
Recently, I devised the following different birthday problem:
Suppose that you have n friends, and you always say “Happy Birthday” to each friend on his/her birthday. On how many days of the year will you not say “Happy Birthday” to one of your friends?
Until somebody tells me otherwise, I’m calling this the Facebook birthday problem in honor of Facebook’s daily alerts to say “Happy Birthday” to friends.
In this series, I will solve this problem. While this may ruin the suspense, here’s a graph of the solution for along with error bars indicating two standard deviations.
Before deriving this solution, I’ll start with a thought bubble if you’d like to take some time to think about how to do this.



