math

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!!!

How Far is the Horizon? Understanding the 5-Kilometer Rule at Sea Level

You wonder when you’re standing at the beach, staring out at the ocean. Where exactly does the Earth end and the sky begin? This visible boundary is called the horizon. For someone standing at sea level, it’s commonly said to be about 5 kilometers (3 miles) away. But how did scientists come to this conclusion?

Let’s break down the reasoning using geometry.

What is the Horizon?

The horizon is the line where the Earth’s surface appears to meet the sky. At sea level, this line is determined by the curvature of the Earth. This means the Earth curves away from you. Eventually, it blocks your view of anything further.

If the Earth were flat, you’d be capable of seeing indefinitely. But because Earth is round, there’s a limit to how far you can see, even on a clear day.

Imagine drawing a cross-section of the Earth, like slicing a ball in half. In this diagram:

The center of the Earth is at the center of the circle.

You are standing on the edge (surface) of the circle, a tiny bit above it (your height).

The line from your eye to the horizon forms a tangent — it just touches the curve of the Earth.

The line from the center of the Earth to the horizon is a radius, and it meets your line of sight at a 90° angle.

Here’s a ready-reference chart showing the distance to the horizon at sea level for common human eye-level heights – with both feet/inches and meters –

using the formula: d~3.57√h

is a quick shortcut that gives very accurate results for normal human eye heights (1 to 100 meters). It was derived from pure geometry, using realistic Earth measurements and unit conversions.

Eye Level HeightHeight (m)Distance to Horizon (km)Distance (miles)
4 ft 6 in1.3724.18 km2.60 mi
5 ft1.5244.41 km2.74 mi
5 ft 5 in1.6514.59 km2.85 mi
5 ft 10 in1.7784.75 km2.95 mi
6 ft1.8294.82 km2.99 mi
6 ft 6 in1.9815.02 km3.12 mi
7 ft2.1345.21 km3.24 mi
10 ft (on a deck or hill)3.0486.24 km3.88 mi

Why This Matters

⚓Navigation: Sailors and pilots use this to understand visibility and calculate how far they can see another ship or landmass.

✭Astronomy: Helps in predicting when celestial objects will rise or set.

⚡Photography: Landscape photographers use this knowledge to plan shots, especially near oceans or deserts.

Every time you look at the horizon, you’re seeing a bit of Earth’s curve and a whole lot of wonder. Isn’t that beautiful?

Keep your eyes open and your mind curious, Happy exploring!

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!

Is a Soccer ball just a ball?

Even though this question might seem simple, a soccer ball isn’t a “ball”, as many people think. 

As crazy as it may sound, “A soccer is a Polyhedron”.

Polyhedron

A polyhedron is a three-dimensional shape with flat faces, straight edges, and sharp corners (vertices). The term “polyhedron” derives from the Greek words poly, meaning “many,” and hedron, meaning “surface.” When many flat surfaces are joined together, a polyhedron is formed. The names of these shapes are based on their faces, which are typically polygons.

It’s a truncated, 32-sided icosahedron with both pentagonal and hexagonal surfaces. It has 60 vertices and is one of the least known and most widely used shapes in the entire world. This is the geometry of soccer.

It has 20 hexagons and 12 pentagons on it.

A short video summarises this: