Pick a numberโฆ any number โ and watch the magic!
It's Always 3
Follow the steps โ you always end up with 3
- Think of any number.
- Double it (ร 2).
- Add 6.
- Divide by 2.
- Subtract your original number.
Call your number n.
Double it โ 2n. Add 6 โ 2n + 6. Divide by 2 โ n + 3. Subtract n โ 3.
The n cancels out โ it doesn't matter what you picked!
Double it โ 2n. Add 6 โ 2n + 6. Divide by 2 โ n + 3. Subtract n โ 3.
The n cancels out โ it doesn't matter what you picked!
I Know Your Number
Add, multiply, subtract โ I still know what you started with!
- Think of any number.
- Add 10.
- Multiply by 3.
- Subtract 30.
- Divide by 3.
- Your number is back! (Subtract your original to get 0 โ it confirms it!)
n โ +10 โ n+10 โ ร3 โ 3n+30 โ โ30 โ 3n โ รท3 โ n.
Every extra step perfectly undoes itself. Your number is protected!
Every extra step perfectly undoes itself. Your number is protected!
The 6174 Mystery
Any 4-digit number eventually becomes 6174 โ always!
- Pick any 4-digit number (not all same digits, e.g. not 1111).
- Arrange its digits from biggest โ smallest.
- Arrange its digits from smallest โ biggest.
- Subtract the smaller from the bigger.
- Repeat with the new number โ keep going until you hit 6174!
This is called Kaprekar's Constant, discovered by Indian mathematician D.R. Kaprekar in 1949.
6174 is a "fixed point" โ when you apply the routine to 6174 itself you get 6174 back. Every other valid 4-digit number is drawn into this orbit in at most 7 steps!
6174 is a "fixed point" โ when you apply the routine to 6174 itself you get 6174 back. Every other valid 4-digit number is drawn into this orbit in at most 7 steps!
Guess Your Age
Multiply your ageโฆ I can still find it!
- Think of your age (keep it secret!).
- Multiply by 5.
- Add 50.
- Multiply by 20.
- Add the last 2 digits of the current year (26 for 2026).
- Subtract 1000.
- Tell me the answer โ I'll read your age from the first 2 digits!
Age = a.
โ ร5 = 5a โ +50 = 5a+50 โ ร20 = 100a+1000 โ +26 = 100a+1026 โ โ1000 = 100a+26.
The hundreds-and-above part is 100รage, so the first digits ARE your age! The last two digits show the year (26).
โ ร5 = 5a โ +50 = 5a+50 โ ร20 = 100a+1000 โ +26 = 100a+1026 โ โ1000 = 100a+26.
The hundreds-and-above part is 100รage, so the first digits ARE your age! The last two digits show the year (26).
The Magic 1089
3 digits โ reverse โ subtract โ reverse โ add โ always 1089!
- Pick any 3-digit number where the first and last digits differ by at least 2 (e.g. 731).
- Reverse the digits (731 โ 137).
- Subtract the smaller from the larger (731 โ 137 = 594).
- Reverse that result (594 โ 495).
- Add the last two numbers together (594 + 495 = 1089!).
Write the number as 100a + 10b + c where a > c+1.
Reversed: 100c + 10b + a. Difference: 100(aโc) + 0 โ (aโc) = 99(aโc).
Since aโc is between 2 and 9, the results are: 198, 297, 396, 495, 594, 693, 792, 891.
Each pair adds to 1089! (198+891, 297+792, 396+693, 495+594 โฆ)
Reversed: 100c + 10b + a. Difference: 100(aโc) + 0 โ (aโc) = 99(aโc).
Since aโc is between 2 and 9, the results are: 198, 297, 396, 495, 594, 693, 792, 891.
Each pair adds to 1089! (198+891, 297+792, 396+693, 495+594 โฆ)
Lightning ร 11
Multiply any 2-digit number by 11 in your head โ instantly!
- Take any 2-digit number, say 53.
- Add the two digits: 5 + 3 = 8.
- Squeeze that sum between the original digits: 5 _ 8 _ 3 โ 583.
- If the sum is โฅ 10, carry the 1 to the left digit (e.g. 85 โ 8+5=13 โ (8+1) 3 5 โ 935).
Multiplying by 11 = multiplying by 10 + 1.
AB ร 11 = AB ร 10 + AB = AB0 + AB.
The hundreds digit stays A, the tens digit becomes A+B (with carry if โฅ10), and the units digit stays B.
AB ร 11 = AB ร 10 + AB = AB0 + AB.
The hundreds digit stays A, the tens digit becomes A+B (with carry if โฅ10), and the units digit stays B.
What Day Were You Born?
Enter your birthday โ find out the day of the week!
- Enter your birthday below.
- We'll use a neat maths formula (Zeller's rule!) to figure out the day.
- Try it on friends & family too!
JavaScript's Date object uses the same maths as Zeller's Congruence โ a formula invented in 1882 that accounts for leap years and month lengths.
The key insight: a year has 365 = 52 weeks + 1 day, so each year the day shifts by 1 (or 2 in a leap year). Mathematicians worked out the exact offsets for every month!
The key insight: a year has 365 = 52 weeks + 1 day, so each year the day shifts by 1 (or 2 in a leap year). Mathematicians worked out the exact offsets for every month!