Finals Week and the Expected Number of Snowboards Used

Sawyer poses a new exam-scheduling puzzle and uses indicator variables in two ways to solve the previous snowboard problem.

SaSawyerSpeaker · Jane Street
Channel
Jane Street
Published
Jul 14, 2020
Video
6:04
Read
3 min
Slides
6
Original
English
Open on YouTube
Scroll to read and the video shrinks to the bottom-right corner. Captions follow your reading language.
Reading languageAvailable in 2 languages
You're reading the original English.
SUMMARY

In 30 seconds

Sawyer asks how many days apart two independently scheduled finals are expected to fall, with a bonus question for three exams. He then solves the previous challenge: six random selections from six snowboards yield an expected 6(1 − (5/6)⁶), or about 3.9906 distinct boards.

  1. 1The finals-week puzzleTwo exams are independently and uniformly scheduled on weekdays; the question asks for their expected separation, with a three-exam bonus.
  2. 2Six choices, six boardsThe previous problem asks for the expected number of distinct snowboards used in six daily selections.
  3. 3Indicators for each boardFor each board, define an indicator for whether it was ever used, then add their expectations.
  4. 4Indicators for each dayAlternatively, count days on which a board appears for the first time; the resulting geometric series gives the same answer.

Takeaways

  1. Indicator variables turn a count into a sum of zero-or-one random variables.
  2. Linearity of expectation lets the expected count be found by adding individual expectations.
  3. A particular board is never chosen in six independent selections with probability (5/6)⁶.
  4. Counting by board or by day produces the same expected 3.9906 distinct snowboards.
  5. The new finals-week challenge asks for expected separation between independently scheduled exams.
FULL TEXT

Read the edited text by chapter

Transcript only
01

The finals-week challenge

Jayden’s exams are scheduled independently and uniformly across five weekdays. Sawyer asks for the expected gap between two exams and, as a bonus, the span of three.

I’m Sawyer, and this is Real Numbers. We have been exploring expected value, so let’s apply it to the end of the school term: finals week.

The finals-week question
SLIDE 1 / 6The finals-week questionThe slide states the independent, uniform weekday scheduling assumptions.

Jayden has two finals, each independently scheduled with equal probability on any weekday from Monday through Friday. What is the expected number of days between them? If both fall on the same day the gap is zero; Tuesday and Friday are three days apart. As a bonus, find the average span between the earliest and latest of three finals.

02

The snowboard problem and a direct approach

The previous problem asks how many of six boards are used in six random daily choices. A table can track the probability of each distinct-board count, but requires careful calculation.

First, let’s solve last week’s problem. A snowboard is chosen randomly from six boards each day for six days, and Rachel must sharpen each board that has been used at least once. We want the expected number of distinct boards used.

A direct approach tracks the number of days and distinct boards in a table. After one day exactly one board has been used. On day two there is a 1/6 chance of choosing it again and a 5/6 chance of choosing a new board. Continuing this calculation through day six yields a distribution from which we can compute the expected value.

Tracking days and distinct boards
SLIDE 2 / 6Tracking days and distinct boardsA table illustrates the direct approach to the snowboard problem.
03

Count boards with indicators

An indicator for each board records whether it is used at least once. Linearity of expectation gives 6(1 − (5/6)⁶), approximately 3.9906.

There is a slicker method using indicator variables: each equals 1 when a condition holds and 0 otherwise. Define Xᵢ as 1 if board i is used at least once and 0 if it is not. The total number of distinct boards is X₁ + X₂ + ⋯ + X₆.

Counting boards with indicators
SLIDE 3 / 6Counting boards with indicatorsThe total number of boards used is written as a sum of six indicators.

For example, if only boards two and four are used, X₂ and X₄ equal 1 and all other indicators equal 0, so their sum is 2. By linearity of expectation, the expected total equals the sum of the individual expected values. Each indicator’s expectation is simply the probability that its condition holds.

A particular board is never used if each of the six independent selections chooses one of the other five boards. That probability is (5/6)⁶, about 0.3349. Thus the probability it is used is 1 − (5/6)⁶, about 0.6651. All six boards have the same probability, so the expected number used is 6(1 − (5/6)⁶), approximately 3.9906—slightly fewer than four.

Probability a board is never used
SLIDE 4 / 6Probability a board is never usedThe complement probability is (5/6)⁶, approximately 0.3349.
04

Count first uses by day

A second set of indicators counts days on which a board appears for the first time. Summing the corresponding geometric series reproduces the answer.

We can instead define an indicator Yᵢ for each day: it is 1 if the board selected on day i has not been used earlier in the week, and 0 otherwise. Y₁ is always 1, because the first board is necessarily new.

An indicator for each day
SLIDE 5 / 6An indicator for each dayThe second method counts first-time board selections by day.

For the board selected on day i to be new, each of the i − 1 earlier choices must have been a different board. The probability is (5/6)ⁱ⁻¹. Summing the six expected indicators gives the geometric series 1 + 5/6 + ⋯ + (5/6)⁵, equal to 6(1 − (5/6)⁶), again about 3.9906.

Summing the geometric series
SLIDE 6 / 6Summing the geometric seriesThe day-based indicators yield the same expected number, approximately 3.9906.

Now return to the new challenge: what is the expected gap between Jayden’s two independent weekday exams? For the bonus, find the expected span between the earliest and latest of three. The episode leaves both questions for you to solve.

More from this channel

1:48:29EN
JSJane Street· Oct 16, 2026How AI Is Changing Programming: John Krazit and Ron MinskyRon Minsky, John Krazit · Jane StreetJane Street’s AI tooling lead and the Signals and Threads host examine agent infrastructure, security, code review and the changing experience of writing software.Coding agentsDeveloper productivityEvals+2
9 slides1:05:45EN
JSJane Street· Sep 11, 2026Cyrus Omar on Live Programming and a Computational Commons for Humans and AICyrus OmarA demonstration of Hazel shows how immediate feedback, structured collaboration and carefully scoped permissions could support people and AI agents working together.Programming LanguagesHuman-AI CollaborationDeveloper workflows & testing+2
1:25:00EN
JSJane Street· Sep 2, 2026Eric Mannes on Turning Messy External Data Into Trading ResearchRon, Eric Mannes · Jane StreetFrom commodity futures and an Excel risk system to point-in-time datasets and AI, Eric Mannes explains the domain knowledge behind data engineering at Jane Street.Data quality & curationDeveloper workflows & testingInvesting+2
7 slides1:16:29EN
JSJane Street· Aug 26, 2026Grant Sanderson and Alok Puranik: Positional Encodings Through Group TheoryGrant Sanderson, Alok Puranik · 3Blue1BrownStarting with assumptions about attention, they derive matrix exponentials and connect rotations, decay and Jordan blocks to RoPE and ALiBi.Transformers & attentionMathematicsML fundamentals+1
4:41EN
JSJane Street· Jul 6, 2026Inside Jane Street’s Internship: Projects, Mentorship and LearningCody · Jane StreetInterns and employees describe collaborative interviews, learning finance from the basics, and working on projects used by the firm.CareersCompany CultureMachine Learning+1
1:34:29EN
JSJane Street· Jun 24, 2026Jacob Baskin on Building Superstore and Scheduling the HiveYaron Minsky, Jacob Baskin · Jane StreetThe Jane Street engineer traces the design choices behind a distributed analytical database and the challenge of allocating a growing research cluster.Infrastructure & deploymentSoftware engineeringDecision Making+1