Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M5149

Kaprekar's Constant

Kaprekar's Constant
SystemsHigh supportSystems Theory
Included
account_tree

Updated 2026-08-03

Loading revision record…

Summary

Kaprekar's constant, 6174, is the fixed point reached within seven iterations by repeatedly subtracting the smallest from the largest arrangement of any four-digit number with distinct digits.

Definition

Discovered by Indian mathematician D. R. Kaprekar. Take any four-digit number whose digits are not all identical, arrange the digits in descending and ascending order, subtract the smaller from the larger, and repeat. The process reaches 6174 within at most seven iterations and then cycles there forever. The constant is an attractor of the iteration rule: it depends on the arithmetic and the base-ten representation, not on the starting value. The requirement that digits not all be identical matters, since such inputs collapse immediately to zero.

How to use

- Convergence reading: ask whether your system has a fixed point that all trajectories reach regardless of starting position. - Initial-condition skepticism: check whether early advantages matter once the rule has run for several rounds. - Rule design: recognize that changing the iteration rule changes the attractor, not the starting point.

Mechanism

The subtraction step sorts digits and cancels their positional contributions, so information about the original arrangement is destroyed each round. After a few iterations the state space collapses to a small set of values, and 6174 is the fixed point of that reduced set. The outcome is therefore a property of the operation, which is why wildly different starting numbers converge on the same endpoint.

Practice

In progress 0/1

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%

Cases

  • Market competition driving phone designs toward a common form, since the same competitive rules apply to every entrant.
  • Optimization algorithms that converge on the same solution despite starting from very different random initializations.

Common pitfalls

  • Assuming the starting value determines the final outcome, when the rule does.
  • Forgetting the condition that the digits must not all be identical, which breaks the sequence.
  • Overextending the analogy to systems whose rules change over time, so no fixed point exists.
Sources

Source support: Explicit

References currently contain only Wikipedia links; primary sources still need review.

  • link
    en.wikipedia.orghttps://en.wikipedia.org/wiki/Kaprekar's_routineZH · Explicit
    verified
account_treeGenealogyexpand_more

RELATED MODELS