2 HN users recommended this explainer2 months2018–2022score 2
Years with an HN recommendation, 2007–2026
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.
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.
“There is an excellent numberphile video on Josephus problem” (HN, 2018)
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. [this video] Edit: Formatting
Examining instances to find patterns to solve the general case
I really like the Josephus Problem ([Numberphile‘s Video on YT]( [this video] )) because of the binary twist, really enjoyed Veritasium‘s [3x+1]( [link] ) and my favorite is your described [100 Prisoners Riddle]( [link] ) too
Simple examples may be useful. Exploring them, proving stuff about them it is how one may carve a foothold to solve a harder problem. Example: The Josephus Problem - Numberphile [this video]
Example of exploring simple cases to solve harder ones
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]: [this video]
Video list and Hacker News comment labels from HackerTube (prompted by @karpathy), released under ODC-By 1.0, built on the open-index/hacker-news archive. Hacker News data is provided by Y Combinator; comments remain the work of their authors. Video titles, channel names and thumbnails belong to their creators and are shown via YouTube. HackerTube Watch is an unofficial edition. Data export of 2026-10-31.
4 Hacker News comments
From the HN archive; up to 20 kept per video, favoring different commenters. Recommendations first.
Read more
Citations, criticism and jokes