How Does The Magical Number 6174: Kaprekar’s Constant Explained! Work?

The number 6174 is special because if you do a certain trick with any four-digit number, it always ends up being 6174, like a secret that all numbers know!

Kaprekar’s Constant, named after the mathematician who discovered it, works like this: pick any four-digit number (you can even use one from your phone or house number!). Now, rearrange its digits to make the biggest and smallest numbers possible. Then subtract the smaller from the bigger.

Let's try with 3524:

  • Rearranged largest = 5432
  • Rearranged smallest = 2345
  • Subtract: 5432 - 2345 = 3087

Now take 3087 and do the same trick again:

  • Largest = 8730, Smallest = 0378 (or just 378)
  • Subtract: 8730 - 0378 = 6174

No matter what number you start with, after a few rounds of this trick, you always get to 6174, it's like the number everyone wants to be friends with!

Why It Works

It’s not magic, it’s just how numbers behave when we rearrange and subtract them. Think of it as a game that all four-digit numbers play, and 6174 is always the winner!

Take the quiz →

Examples

  1. A child rearranges the digits of a number to make the largest and smallest possible numbers, then subtracts them repeatedly until they get 6174.

Ask a question

See also

Discussion

Recent activity