Construct 4-Digit Number: Greatest to Smallest

  • Context: High School 
  • Thread starter Thread starter whoelsebutme
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 10K views
whoelsebutme
Messages
9
Reaction score
0
4 digit number...

Consider four distinct digits.

Construct the greatest four digit number out of those digits.

Now construct the smallest number, again from those four digits.

If the difference of the two numbers consists of the same four digits as chosen originally, can you find the four digits?

:confused: :confused:
 
Mathematics news on Phys.org
whoelsebutme said:
Consider four distinct digits.

Construct the greatest four digit number out of those digits.

Now construct the smallest number, again from those four digits.

If the difference of the two numbers consists of the same four digits as chosen originally, can you find the four digits?

:confused: :confused:
Say, you have 4 digits, namely: a1, a2, a3, and a4, and that: a1 > a2 > a3 > a4.
To compare 2 4-digit numbers, say abcd, adn efgh, one must first compare the thousands right? If a > e, then abcd > efgh.
If a = e, we continue to compare the hundreds, then... blah blah blah.
Can you get this?
---------------
Now if you want to construct the greatest number from these digits, how can you do that?
Can you go from here? :)
 
the answer is 6, 1, 7, and 4

*just for knowledge, the number 6174(the answer) is called the Kaprekar Constant. If you do with this number, exactly as written above, then you always get the number back...
 
In fact, if you start with any 4-digit number and go through a bunch of iterations (of the Kaprekar Algorithm, each step involving the process described in the OP), you end up with either 0, or the number above.