Qm

The shortest gap between two Friday the 13ths

Friday the 13th comes round at least once every year, and sometimes several times.

What is the smallest possible number of days between one Friday the 13th and the next? In which months does this minimum occur, and does it need a leap year or an ordinary year?

As a follow-up, what is the longest possible wait between two Friday the 13ths?

Show a hint

The 13th of consecutive months are on the same weekday only when the number of days between them is a multiple of 7. Which month length is a multiple of 7?

Your answer

Solving needs a free account

Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.

Discussion

Sign in to join the discussion · reading is open to everyone

💡 Discussion rules

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

How many Friday the 13ths does 2026 have?Which weekday occurs 53 times in 2026?Born on 29 February, how many birthdays by age 40?A run of days that nets a multiple of nWhat day of the week was 1 January 2000?
All questions →