1. Home
  2. Numberphile

Dec 4, 2011

Why almost every four-digit number leads to 6174

3 min → 0:51

Overview

Numberphile explores the beauty of recreational mathematics by demonstrating how a simple procedure called Kaprekar's routine turns almost any four-digit number into 6174, known as Kaprekar's Constant.

3 things to know

Numberphile: Repeating Kaprekar's routine consistently leads to 6174

Numberphile explains that Kaprekar's routine involves arranging a four-digit number's digits into the largest and smallest possible numbers, subtracting the smaller from the larger, and repeating the process with the result to consistently reach 6174.

More

A process where you take a four-digit number, arrange its digits to form the largest and smallest possible numbers, and then subtract the smaller from the larger.

▶ Watch at 0:09

Numberphile: One math routine for four-digit numbers hits 6174

Numberphile explains that 6174, known as Kaprekar's Constant, is the fixed stopping point of a specific math routine for four-digit numbers.

Numberphile says valid starting numbers always converge to 6174

Numberphile notes that the process is notable because, regardless of the valid starting number, it always converges to 6174, typically in just a few steps.

Also in this episode

Numberphile says reaching 6174 traps numbers in a loop

Numberphile explains that once the number 6174 is reached, applying the routine to it will always yield 6174, trapping it in a self-repeating loop.

Quotes

“Not everything has to be useful to be appealing and fun.”

▶ Watch at 3:33

“But Kaprekar showed that if you carry out a procedure which I'll outline for you, it always comes to this number.”

▶ Watch at 0:09

Full summary

Episode Overview

  • An introduction to the number 6174, famously known as Kaprekar's Constant.
  • A step-by-step demonstration of the mathematical procedure, called Kaprekar's routine, used to arrive at this number.
  • An explanation of the conditions for the routine, specifically that it applies to any four-digit number where not all digits are the same.
  • A reflection on the beauty and fun of recreational mathematics, highlighting that discoveries don't always need a practical application.

Key Concepts

  • Kaprekar's Constant: The number 6174, which is the fixed point of a specific mathematical routine for four-digit numbers.
  • Kaprekar's Routine: A process where you take a four-digit number, arrange its digits to form the largest and smallest possible numbers, and then subtract the smaller from the larger. Repeating this process with the result will consistently lead to 6174.
  • Convergence: The process is notable because, regardless of the valid starting number, it always converges to 6174, typically in just a few steps.
  • Perpetual Loop: Once the number 6174 is reached, applying the routine to it will always yield 6174, trapping it in a self-repeating loop.

Quotes

  • At 00:09 - "But Kaprekar showed that if you carry out a procedure which I'll outline for you, it always comes to this number." - The speaker introduces the central idea that the number 6174 is the inevitable result of a specific process.
  • At 03:33 - "Not everything has to be useful to be appealing and fun." - The speaker concludes by appreciating the joy of mathematical curiosities that exist for their own sake.

Takeaways

  • The number 6174 is a mathematical constant discovered through a simple, repeatable process.
  • You can try Kaprekar's routine with almost any four-digit number (e.g., your birth year) as long as it doesn't have four identical digits.
  • The process involves rearranging digits to get the largest and smallest numbers, then subtracting them.
  • This numerical curiosity demonstrates that mathematics contains elegant and surprising patterns.
  • The exploration of such patterns is a core part of recreational mathematics, valued for its inherent beauty and fun rather than utility.

Watch the full episode 3 min

Read along with the audio summary

The speaker notes that Kaprekar showed a specific procedure that always leads to one single number. This show features the speaker in an episode that came out on December 4, 2011. You will learn how this routine works and why recreational mathematics is valued for its fun.

Meet the inescapable four digit number. It is 6174, famously known as Kaprekar's Constant. This number is the fixed ending point of a specific math routine.

A simple subtraction game leads straight to this constant. In Kaprekar's routine, you rearrange a four digit number like your birth year into the largest and smallest possible numbers, then subtract the smaller from the larger. Repeating this with the result consistently leads to 6174.

Almost every valid starting number meets the same fate. If all four digits are not identical, the process always converges to 6174, typically in just a few steps.

Reaching 6174 traps you in a perpetual loop. Applying the routine to 6174 always yields 6174 again.

This curiosity shows that math holds elegant patterns valued for beauty rather than utility. Not everything has to be useful to be appealing and fun.

More from Numberphile

Related Episodes