Thursday, 6 February 2025

Krapekars Constant

Kaprekar's Constant (6174)

Kaprekar's Constant Calculator

Kaprekar's Constant (6174) is a mathematical process where you take any four-digit number (with at least two different digits), rearrange its digits in descending and ascending order, subtract the smaller number from the larger one, and repeat the process. No matter which number you start with, you will eventually reach 6174 in a few iterations. This program will show each step of the process and stop after 6174 appears twice.

Enter a four-digit number (not all digits the same):

Steps:



    


No comments:

Post a Comment