HackerTube.dev

The Josephus Problem - Numberphile

Numberphile · 7M views · 2016-10-28 · 13:58

Open on YouTube ↗

If playback is restricted in your region, try opening the original video. Use Mark watched to add it to your marked videos.

Overview

Numberphile with Daniel Erman on the Josephus problem, where people in a circle are eliminated in turn. It shows how the survivor's position follows a neat pattern tied to powers of two and binary.

On Hacker News

HN cites it as an excellent example of solving small cases to find a pattern, and as a favorite puzzle with an elegant binary solution.

Recommended by 2 HN people across 2 months · HN mentions 2018–2022

Topics

Search by tags

What people said

hostcontroller · 2022-08 · Recommendation

I really like the Josephus Problem ([Numberphile‘s Video on YT]( [VIDEO] )) because of the binary twist, really enjoyed Veritasium‘s [3x+1]( [LINK] ) and my favorite is your described [100 Prisoners Riddle]( [LINK] ) too

Read the original HN comment ↗
yantrams · 2018-06 · Recommendation

Taking a break from sitting at the desk and going for a walk and thinking about the problem has worked surprisingly well for me many times. It was something I first read about in a Poincare's article on how Mathematical ideas are generated. Coming to general methods of problem solving in recreational math, I always look for symmetry and transforming the problem from one problem space to another and induction techniques before attacking it. For a research/modelling problem, my approach is to start working on the most simplified version of it and gradually progress towards the original problem. There is an excellent numberphile video on Josephus problem that illustrates how examining specific instances to observe patterns can help solve the general case. [VIDEO] Edit: Formatting

Read the original HN comment ↗
leipert · 2022-06 · Reference

When I interviewed at my current company, I was pretty stressed about the interview and watched some Numberphile videos the night before to take my mind off things. Weirdly enough one of the problems discussed in the interview was about the Josephus problem which has a neat solution in binary [0]. I don’t recall if I ever asked the interviewer whether they also watched the video recently or how they came to think of it. [0]: [VIDEO]

Read the original HN comment ↗

Sources

Video by Numberphile, played through YouTube.

Data and selection notes

HN summaries and labels may contain AI errors. HN dates refer to discussions, not video publication.

HN Library: HackerTube export (2026-10-31) and open-index/hacker-news. Upstream summaries and classifications may contain AI errors.

Views, duration and playback status refresh separately from the published catalog. When an update fails, existing data remains visible.

Selection checks
  • SaaS & AI candidates: Topic keywords do not match
  • Editor-approved picks: Editorial review is required

Rule matches identify candidates. They do not guarantee video quality or financial results.

About the library and its sources