How many bits?
The digits a number needs, in any base
The obvious answer is ⌈log2 N⌉, and it's right almost every time. It goes wrong on exactly the powers of two. This presentation, animated with Manim, finds out why and builds the formula that always works.
In the slides, ← → or a swipe moves between steps, and F goes full screen.