- Home
- About
- Examples
- Graph of
the month
06/2009 - GDL files
- SVG output
- PNG output
- HTML output
- PS output
- Applications
- Output split
- Animations
- Search
- Graph of
- Free trial
- Help
- Store
- Legal
- Contact
- Extras
- Sitemap

Kaprekar’s operation, named after the Indian mathematician D. R. Kaprekar, refers to:
The above graphs document Kaprekar’s operation for 3-digit and 4-digit numbers, respectively. In the first graph, the operation is represented by edges, in the second by subgraphs.
Visualizing the graphs with aiSee reveals that repeating the operation for any given 3-digit number will always get you to 495, after which you'll enter an endless loop (954 − 459 = 495). Similarly, repeating the operation for any 4-digit number will always get you to 6174 and another endless loop (7641 − 1467 = 6174).