Kaprekar's Constant for 3-Digit Numbers: 495
The Kaprekar transformation for three digits involving the number 495 is defined as follows:
1) Take any three-digit number with at least two digits different.2) Arrange the digits in ascending and then in descending order to get two four-digit numbers, adding leading zeros if necessary.
3) Subtract the smaller number from the bigger number.
4) Go back to Step #2.
The above operation will always reach 495 in a few steps where it stops there.
Once 495 is reached, the process will keep yielding 954 – 459 = 495.
The only three-digit numbers for which this function does not numbers whose digits are all identical (e.g., 222) as they yeild zero after a single iteration.Example #1:
100 yields:
100 – 001 = 099
990 – 099 = 891
981 – 189 = 792
972 – 279 = 693
963 – 369 = 594
954 – 459 = 495
Example #2:
912 yields:
921 – 129 = 792
972 – 279 = 693
963 – 369 = 594
954 – 459 = 495
Related Topic: