Math Puzzle

The Mathematics Behind Sudoku

Every day, millions of people enjoy solving Sudoku puzzles in newspapers, books, or on their phones. It looks like a simple game of filling numbers into a grid. But there is much more to Sudoku than meets the eye. Behind its simple rules lies some interesting mathematics that makes every puzzle a unique and satisfying challenge.

Sudoku in a newspaper

It is really a Latin square wearing a disguise

Long before Sudoku became a newspaper staple, mathematicians studied something called a Latin square, a grid where every row and every column contains each symbol exactly once. Sudoku builds on that idea by adding one extra rule: each of the nine 3 × 3 boxes must also contain every digit exactly once. That single extra rule is what makes Sudoku much richer than an ordinary Latin square and much harder to count.

How many finished grids actually exist

Here is a number that will surprise you. There are 6,670,903,752,021,072,936,960 different ways to fill a standard 9 x 9 Sudoku grid. That is more than 6.67 sextillion possible completed grids.

It is hard to picture a number that large. Even if you completed a different Sudoku grid every second, without ever taking a break, you still would not finish them all in your lifetime.

This number was worked out in 2005 by two researchers, Bertram Felgenhauer and Frazer Jarvis, using a mix of clever counting and brute force computer checking. They did not check every possibility by hand. They found patterns in how the top band of boxes could be filled, then multiplied cleverly to reach the full total.

The magic number 17

Now let’s look at another interesting question. What is the smallest number of clues a Sudoku puzzle can start with and still have only one correct solution?

The answer is 17 clues.

A Sudoku puzzle has 81 boxes, but it can start with just 17 filled boxes and still have only one correct answer. If it starts with 16 or fewer clues, there will always be more than one possible solution.

For many years, mathematicians wondered whether a 16-clue Sudoku puzzle with a unique solution existed. Many people searched for one, but no one could find it.

In 2012, three mathematicians, Gary McGuire, Bastian Tugemann, and Gilles Civario, finally proved why. They used powerful computers to check every possible 16-clue Sudoku puzzle. After checking them all, they found that none had a unique solution. That is why 17 is the smallest possible number of clues for a standard Sudoku puzzle.

One grid secretly hides thousands of twins

Here is a fun trick. Take any completed Sudoku grid and rotate it 90 degrees. It is still a valid Sudoku. Flip it like a mirror. It is still valid. Swap every 3 with every 7 throughout the grid. It is still valid.

These changes are called symmetries. They change how the grid looks, but they never break any Sudoku rule.

Because of these symmetries, many completed Sudoku grids are actually the same puzzle in a different form. Although there are more than 6.67 sextillion completed Sudoku grids, only about 5,472,730,538 are truly different. The rest are simply different versions of one of these unique grids.

Sudoku is secretly a colouring problem

Here is another interesting way to think about Sudoku. Imagine each of the 81 boxes as a dot. Draw a line between any two dots that share the same row, column, or 3 × 3 box.

Now imagine giving each dot one of nine different colours, making sure that no two connected dots have the same colour. This is called graph colouring, and solving Sudoku follows the same mathematical idea.

Graph colouring is used in many real-world problems, including creating school exam schedules and assigning radio frequencies so nearby cell phone towers do not interfere with one another.

Why even computers can struggle

Computers can solve a standard 9 × 9 Sudoku puzzle very quickly. However, much larger Sudoku puzzles, such as 16 × 16 or 25 × 25, can take much longer to solve.

In 2003, researchers Takayuki Yato and Takahiro Seta showed that there is no single fast method that works for every larger Sudoku puzzle. As the size of the puzzle increases, the time and computing power needed to solve it also increase.

A simple puzzle with extraordinary mathematics

A Sudoku puzzle may look like a simple game of numbers, but it is connected to some amazing ideas in mathematics. Behind every puzzle are huge numbers, clever patterns, and interesting mathematical rules.

Every Sudoku puzzle you solve is one unique arrangement chosen from more than 6.67 sextillion possible completed grids. It can have a unique solution with as few as 17 clues, and many completed grids are actually the same puzzle in a different form because of mathematical symmetries.

That is what makes mathematics so special. It is often hidden in everyday things, waiting to be discovered.

Happy Solving!!!

Why Do Playing Cards Have 52 Cards?

photo of scattered playing cards

Most people look at playing cards and think of games, tricks, and entertainment.
Fans of mathematics notice something different hiding in plain view: a secret calendar.
When you hold a standard deck, you are, in a sense, holding an entire year.

Let’s break it down the easy way.

Why Are There 52 Cards

A deck has 52 cards because a year has 52 weeks.
So every card quietly stands for one week of the year.
Shuffle the cards and you are basically mixing up the calendar.

The Four Suits Secret

They match the four seasons.
Spring, Summer, Autumn, and Winter.

Each suit has 13 cards. Each season lasts approximately 13 weeks.
That is not an accident. That is clever math.

The 365 Days Trick

Count the card values (2 to 10)
Ace is 1.
Jack is 11.
Queen is 12.
King is 13.

Add all the cards together and you get 364.
But a year has 365 days.

That extra day is the Joker.
And in a leap year, there are two Jokers.
Math has a sense of humor.

This is not solid historical proof that cards were invented as a calendar.
Perfect for curious minds at EarnMath, where even games love numbers.

The Missing Dollar Riddle

The well-known “Missing Dollar” puzzle! It’s fun because it smartly tricks our minds. Let us take it one step at a time:

The Riddle:

Three friends go out for lunch and spend $30. Each person contributes $10, so they pay $30 in total. The waiter realizes that the bill was only $25, so he gives back $5 to the friends.

Since $5 is hard to split evenly among three people, the friends decide to tip the waiter $2 and split the remaining $3, taking $1 each. Now, each friend has effectively paid $9 ($10 initially paid minus $1 returned).

Here comes the mystery:

  • Each friend paid $9.
  • $9 × 3 = $27.
  • Add the $2 tip, and you get $29.

But the friends started with $30. Where did the missing dollar go?


Breaking it down:

The riddle plays a clever trick on our logic by misdirecting the calculation. Let’s analyze the scenario step by step.

Step 1: The total money paid

The friends originally paid $30. Out of this:

  • $25 went to pay the bill.
  • $2 went as a tip.
  • $3 was returned to the friends ($1 each).

This accounts for the entire $30:

Step 2: Where the $27 comes from?

When we say that each friend paid $9, we’re effectively combining:

  • The $25 bill, which is part of what they paid.
  • The $2 tip, which is also part of what they paid.

So, the $27 already includes the tip:

Step 3: The trick

The riddle’s trick lies in the misdirection. It incorrectly adds the $2 tip to the $27 (the total paid) instead of properly accounting for where the money went. The tip is already part of the $27! There’s no missing dollar — it’s all accounted for.

The Conclusion:

The “missing dollar” doesn’t exist. The confusion arises because the riddle mixes two separate concepts: the total amount spent ($27, including the tip) and the original $30 contributed. By carefully tracing where each dollar goes, we see that the money is accounted for perfectly.

Why this riddle is so fun?

The Missing Dollar Riddle is a great example of how math can trick us when we’re not careful. It reminds us to always pay attention to what is being added or subtracted and why. It’s not just about numbers—it’s about logic and clarity.

Do you know someone who’d enjoy solving this riddle? Share it with them and see if they can figure it out before reading the explanation!

Happy riddling!

Are there only 64 squares present on the chess board?

This is a trick question because it is possible for someone to get confused and immediately calculate the total number of squares in a chessboard with eight rows and eight columns by using the formula (number of rows X number of columns)

= 8 X 8 = 64.

Let’s start by reducing the complexity of the situation.

The total number of 1X1 squares is presented in eight rows by eight columns on the chess board.

= 8 X 8 =64.

However, if you start thinking about 2X2 squares, 3X3 squares, and so on up to 8X8 squares, you can figure out how to answer the question.

The total number of 2X2 squares is presented in seven rows by seven columns on the chess board.

= 7 X 7 =49.

The total number of 3X3 squares is presented in six rows by six columns on the chess board.

= 6 X 6 =36.

The total number of 4X4 squares is presented in five rows by five columns on the chess board.

= 5 X 5 =25.

The total number of 5X5 squares is presented in four rows by four columns on the chess board.

= 4 X 4 = 16.

The total number of 6X6 squares is presented in three rows by three columns on the chess board.

= 3 X 3 = 9.

The total number of 7X7 squares is presented in two rows by two columns on the chess board.

= 2 X 2 = 4.

The total number of 8X8 squares is presented in one row by one column on the chess board.

= 1 X 1 = 1.

Therefore, the total number of squares presented on the chess board is found by summing up all the values obtained by 1X1, 2X2, 3X3, 4X4, 5X5,6X6,7X7 and 8X8 squares.

i.e., 64 + 49 + 36 + 25 + 16 + 9 + 4 + 1 = 204.

Therefore, the total number of squares on the chess board is 204.

Cut a cake into eight equal pieces by using only three cuts.

1.Two cuts should make a cross on the surface of the cake, therefore splitting it into four equal halves

2. Third cut as a horizontal slit through the cake’s center.