Skip to content

Fun Math Topics: Number Tricks, Magic Squares and Games

Practice by topic

Free games with five levels and step-by-step help for each school math topic.

🖨️ Free printable math worksheets

13 worksheets for kindergarten to grade 8 in one PDF: addition, subtraction, multiplication, division, area, word problems, probability, equations, logic puzzles, sudoku and memory cards. Every worksheet comes with an answer key.

Download the free worksheet pack (PDF, 26 pages)
🎮 Play Fun Math TopicsAll puzzle games →

Pick any four-digit number with at least two different digits. Arrange the digits from biggest to smallest, then smallest to biggest, and subtract. Repeat. Within a few steps you will land on 6174, and you will stay there. That kind of surprise is what fun math topics are all about: ideas that are simple to try and strangely hard to forget.

📑 In this guide (4 sections)
  1. What are fun math topics?
  2. Which fun topics can you play here?
  3. Can you see the 6174 trick step by step?
  4. FAQs

What are fun math topics?

Fun math topics are the parts of maths people explore for recreation or entertainment, not because a test is coming. Mathematicians call this recreational mathematics, and it is not limited to amateurs: some famous professionals spent years on it.

The best part is that many of these topics need no advanced math. A child who can add can enjoy a number trick, and a child who can count can explore a pattern. The ideas often lead somewhere deep, but the way in is easy, which makes them perfect for curious kids, bored teenagers and adults who think they "aren't maths people".

A fun topic usually has three things: a question anyone can ask, a way to try it with pencil and paper, and an answer that surprises you. Number tricks, puzzles and patterns tick all three boxes, which is why they appear in classrooms, puzzle books and maths clubs all over the world.

Which fun topics can you play here?

Several classic topics have a game on this site, so you can try them straight away:

Magic squaresGrids where every line adds to the same total. Try them in the number grid puzzle.
Logic puzzlesClue grids and riddles in the logic grid puzzles and hard logic puzzles games.
The 15 puzzleA sliding toy with a famous history and a hidden parity rule: the sliding number puzzle.
Shapes in spaceCounting hidden cubes in the 3D cube puzzle.

Other fun topics worth a look include fractals, shapes that repeat at every scale; ciphers, where maths hides secret messages; cellular automata, simple rules that grow complex patterns; and the maths hidden in origami and juggling.

Can you see the 6174 trick step by step?

Yes. Here is the trick from the top of the page, starting with 3524:

5432 − 2345 = 3087
8730 − 0378 = 8352
8532 − 2358 = 6174
7641 − 1467 = 6174 (stuck!)

The number is named after the Indian mathematician D. R. Kaprekar, who discovered it. Every four-digit number with at least two different digits reaches 6174 in at most seven steps. Try it with your own birthday year and see how many steps it takes.

Tricks like this are a brilliant way into maths because the result feels like magic, but the reason is pure arithmetic. Older students can try the same game with three-digit numbers and look for the number they get stuck on there.

FAQs

What is a fun math topic for kids?

Magic squares, number tricks like 6174 and simple logic puzzles are great fun math topics for kids, because they need only basic arithmetic and give a satisfying "aha" moment.

What is a fun math topic for a school project?

Good project topics include the 15 puzzle and why some boards are impossible, the Game of Life, Kaprekar's constant, or magic squares. Each has a clear question to investigate and lots to try by hand.

Do fun math topics help with school maths?

Yes. They build curiosity and pattern spotting, and many practise arithmetic along the way. Children who enjoy maths outside lessons often feel more confident inside them.

What is Kaprekar's constant?

Kaprekar's constant is 6174, the number that every four-digit number with at least two different digits reaches by the arrange-and-subtract routine described above, in seven steps or fewer.

Who made maths fun?

Many writers made maths fun. Martin Gardner wrote a famous magazine column of maths games from 1956–1981, and Lewis Carroll, the author of the Alice books, loved logic puzzles. Solomon Golomb invented polyominoes, the shapes behind many block-fitting games, and John Horton Conway created the Game of Life, a grid of cells that live or die by simple rules.

Where can I play fun math games?

All the games linked on this page are free to play in your browser with no sign-up.