Kaprekar's routine

In number theory, Kaprekar’s routine is an iterative algorithm named after its inventor, Indian mathematician D. R. Kaprekar. Each iteration starts with a four-digit random number, sorts the digits into descending and ascending order, and calculates the difference between the two new numbers.

Source: Wikipedia — Kaprekar's routine (CC BY-SA 4.0)

Kaprekar's routine

In number theory, Kaprekar’s routine is an iterative algorithm named after its inventor, Indian mathematician D. R. Kaprekar. Each iteration starts with a four-digit random number, sorts the digits into descending and ascending order, and calculates the difference between the two new numbers.

Source: Wikipedia "Kaprekar's routine" · CC BY-SA 4.0

Share this article: X · Bluesky
Privacy Policy