D. R. Kaprekar and the Discovery of 6174

Kaprekar’s constant takes its name from the Indian mathematician Dattatreya Ramchandra Kaprekar (1905–1986), a schoolteacher whose amateur fascination with number patterns produced some of the most durable results in recreational mathematics.

Who Was D. R. Kaprekar?

Kaprekar was born in Dahanu, on the west coast of India, in 1905. He studied at Fergusson College in Pune, graduating in 1929, and spent his working life as a mathematics teacher at a secondary school in Devlali, a small town north-east of Mumbai. He never held a university post and worked entirely outside the mainstream academic mathematics community of his time.

What he lacked in institutional status he made up for in curiosity. Kaprekar spent decades exploring the arithmetic properties of integers, discovering patterns that professional mathematicians had largely ignored because they belonged to the category of “recreational” rather than “serious” mathematics. He published his findings in journals that would accept them, gave talks at mathematical conferences in India, and corresponded with anyone who showed interest.

The Discovery of 6174

Kaprekar discovered the property of 6174 in 1949. He presented it at a mathematical conference in India, and published a formal paper titled “An Interesting Property of the Number 6174” in the journal Scripta Mathematica in 1955.

The result was initially met with polite disinterest in the Western mathematical establishment. It was the kind of finding that felt too elementary to matter: a curiosity about four-digit numbers, with no obvious application. But the elegance of the result — the fact that every qualifying four-digit number, without exception, reaches the same fixed point — kept it alive.

How It Became Famous

Kaprekar’s work gained a wider audience in the 1970s when Martin Gardner covered it in his legendary “Mathematical Games” column in Scientific American. Gardner had a gift for recognising which corners of recreational mathematics would captivate a general audience, and he was right about 6174.

From there, the result spread through popular mathematics books, problem sets, and eventually the internet. The YouTube channel Numberphile produced a short film about Kaprekar’s constant that has been viewed millions of times, bringing the result to an audience Kaprekar himself could never have imagined.

Kaprekar’s Other Discoveries

Kaprekar’s name attaches to more than just 6174. He is also known for:

Hardy’s Dismissal and Kaprekar’s Quiet Revenge

The British mathematician G. H. Hardy famously had little time for what he called “trivial mathematics” — recreational problems without deeper structural consequences. Had Hardy been asked about Kaprekar’s routine, he would probably have waved it away as a party trick.

But the trick outlasted the dismissal. Decades after Kaprekar’s death in 1986, his constant is still being discovered by new generations of students, programmers, and curious amateurs who encounter 6174 for the first time and feel the same small thrill he must have felt in 1949.

Further Reading

← Back to the solver