Think of a 4 digit positive integer with at least two distinct digits. Follow these steps:
Step 1) Arrange the digits in descending order, and also arrange the digits in ascending order to get two four-digit integers, adding the leading zeros when necessary.
Step 2) Find the absolute difference between the two numbers you've found in step 1.
Step 3) Repeat Steps 1 to 2 six more times.
I know what number you have. What must it be?
Details and Assumptions :
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
See this,
Kaprekar's constant