Skip to the main content
Monday, 26 October 2026
Solar System Bangla

The science of life, the wonders of the universe, the stories of space missions, the nature of matter and the lives of the scientists who changed how we see it all — gathered here, on Bichitro Biggan.

Home › Scientists › Kaprekar's Constant 6174: The Enigmatic Math…

Kaprekar's Constant 6174: The Enigmatic Math of Number Theory

1 November, 2025

⏱ 2 min read

Last updated: 22 September, 2026

👁 127 💬 0
Share Facebook WhatsApp Telegram X
Kaprekar's Constant 6174: The Enigmatic Math of Number Theory

An Uncanny Mathematical Black Hole

Choose any four-digit number where at least two digits are different. Arrange the digits in descending order to form the largest possible number, then reverse them into ascending order to form the smallest. Subtract the smaller number from the larger. Now repeat the exact same procedure with the resulting difference.

No matter which valid four-digit combination you start with, you will always arrive at the exact same number within at most seven iterations: 6174. Once you reach 6174, the process loops endlessly on itself. In mathematics, this celebrated number is known as Kaprekar’s constant.

The Humble Genius of D. R. Kaprekar

This remarkable property was discovered in 1949 by Dattatreya Ramachandra Kaprekar, an unassuming schoolteacher and recreational mathematician from Devlali, India. Lacking formal university professorships, Kaprekar spent decades exploring the playful aesthetics of numbers, unveiling properties that initially seemed like mathematical curiosities but subsequently attracted worldwide attention among number theorists.

Step-by-Step Walkthrough: The Kaprekar Routine

To see the routine in action, let us trace an arbitrary starting number: 3524.

  • Step 1:
    • Descending order: 5432
    • Ascending order: 2345
    • Difference: $5432 – 2345 = 3087$
  • Step 2:
    • Descending order: 8730
    • Ascending order: 0378
    • Difference: $8730 – 0378 = 8352$
  • Step 3:
    • Descending order: 8532
    • Ascending order: 2358
    • Difference: $8532 – 2358 = 6174$
  • Step 4 (The Fixed Point):
    • Descending order: 7641
    • Ascending order: 1467
    • Difference: $7641 – 1467 = 6174$

The calculation reaches 6174 and remains permanently fixed! The number acts as an attractor, pulling every four-digit integer (except repdigits like 1111, 2222, etc., which yield 0000) into its orbit in a maximum of seven operations.

Why Does Kaprekar’s Constant Work?

When four digits $a ge b ge c ge d$ are arranged into descending order ($1000a + 100b + 10c + d$) and ascending order ($1000d + 100c + 10b + a$), their difference simplifies to:

$$Delta = 999(a – d) + 90(b – c)$$

Because the differences $(a – d)$ and $(b – c)$ can only take a restricted set of values, the operation dramatically constrains the universe of possible outputs. Through iterative mapping, all valid paths inexorably terminate at the unique fixed kernel 6174.

Conclusion

The elegance of Kaprekar’s constant highlights the hidden symmetry and beauty embedded in arithmetic, demonstrating that profound patterns often conceal themselves within the simplest elementary operations.

Share Facebook WhatsApp Telegram X

Tanvir Hossain

bichitrobiggan.com

Tanvir Hossain has been writing about science since his student days, with one habit above all: explaining it in plain language. His aim is to make science part of everyday conversation in Bangladesh and to give young readers a scientific turn of mind. Two of his books, Shatabdir Biggan and Bichitro Biggan, have found a wide readership.

Leave a comment

Your email address will not be published. Required fields are marked *