· 3 min read
What Is a Leap Year? The /4, /100, /400 Rule Explained
Why some years have a February 29, how the divisible-by-4, -100 and -400 rules combine, and how to check any year quickly.

Science & education writer · View profile
· 3 min read
Why some years have a February 29, how the divisible-by-4, -100 and -400 rules combine, and how to check any year quickly.
· 4 min read
Count the days until any future date, understand inclusive vs. exclusive counting, and build an accurate countdown you can trust.
· 3 min read
Three percentages that look alike but answer different questions. Learn the formula for each, when to use it, and why they give different numbers.
· 14 min read
A knockout bracket halves its field every round, so it only closes on a power of two. The bye count, the round count, the seed order and the total number of matches all follow from that one fact — and each is a one-line derivation.
· 14 min read
23 people do not divide into fours, and a uniformly random split can hand one group every strong player. Here is the remainder arithmetic, the measured cost of pure randomness, and the stratified fix.
· 13 min read
Every five-card poker probability is a counting argument over 2,598,960 hands, and each one fits on a single line. Here are all nine, with the check that proves them: the counts must sum to exactly C(52,5).
· 13 min read
The shuffle everyone writes — sorting with a random comparator — is biased, and not slightly. A million measured runs show eight of the twenty-four orderings turning up twice as often as the other sixteen.
· 13 min read
Twenty percent off and then a further ten percent off is not thirty percent off — it is twenty-eight, because the second discount applies to the already-reduced price. The general rule, the cases where order matters, and how sales tax changes the answer.
· 14 min read
Moving from 4% to 5% is a rise of one percentage point and a rise of twenty-five percent. Both statements are true, which is exactly why the ambiguity is so easy to exploit — and why basis points exist.
· 15 min read
"One month later" has no single correct answer, and every date library has had to pick one. Month addition is neither associative nor invertible, a day is not always 24 hours, and age is not days divided by 365.25.
· 15 min read
Divisible by four, except centuries, except centuries divisible by four hundred. The three-line rule exists because the tropical year is not 365.25 days, and the arithmetic behind it explains ten deleted days in 1582 and a calendar that repeats exactly every 400 years.