Jump to content
BrainDen.com - Brain Teasers
  • 0


bonanova
 Share

Question

I thought of a four-digit number, p = abcd; where each of a, b, c, d are in the set [0, 9].

Boy, was that fun.

But how interesting can a four-digit number be?

Soon I tired of that number; I wanted a new one.

So I made q = klmn, where k, l, m, n are the down-ordering of a, b, c, d.

But that looked too familiar, having the same digits and all, and so did r = nmlk.

So I subtracted the two: the smaller from the larger, and ended up with s = |q-r| = uvwx.

Great, I thought, and I started thinking about s.

But s looked even more familiar than q and r did.

No wonder: s turned out to be exactly equal to my first number, p.

If I give you the hint - if you think you need one - that b < c, can you tell me my original number p?

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Kudos. That's correct.

The process of changing p = abcd into s = uvwx has an interesting property.

Start with any p [where abcd are not all the same] to get s = uvwx.

Continue the process, this time using s.

Repeated application of the process always leads to a final result of 6174.

Which gives rise to two questions:

  1. How many repetitions are sufficient?
  2. What do the initials D.R.K. have to do with any of this?
Link to comment
Share on other sites

  • 0

I like this problem, but I'm not sure how special we can say 6174 is. Surely, it simply has an order of 1 under this function.

Could we not say that the sequence 81,63,27,45,9 is just as special because it repeats under this function for 2 digit numbers?

Or that 495 is special because it also it also is order 1 for 3 digit numbers?

As for your questions, you are looking for:

the Indian mathematician Kaprekar (Wikipedia entry)

but I can't give you an answer to the convergence rate to 6174. Though I can do 3-digits, I do not have the energy to try four:

taking a number with digits a, b and c, arbitrarily such that a >=b >= c and a != b != c (that's a not equals sign!), then we can at least say a > c.

so,

.	a b c

.  - c b a

.---------

.	A B C


C = 10 + c - a (because a>c)

B = 10 + b - 1 - b = 9

A = a - 1 - c


leaving,


A + C = 9

B = 9


after only one iteration, which is a fairly small subset of 3-digit numbers.


And for every iteration except the first one, we know the figure must have a 9 (because B = 9), so that a = 9, and running this through gives


A = 8 - c

B = 9

C = c + 1


and so with each iteration, c increments by 1 until C = 5 and A = 4, a stable solution. Notice that b is irrelevant in convergence to 495.

Therefore, the longest sequence we could generate is (working backwards):

495

594

693

792

891

990

there is no 3 digit number that could generate the digits 9, 9, and 0 as it would require a - c = 10. Therefore, I propose that 5 steps is the longest it could take.

Unfortunately, because 6174 is not symetrical we do not have the advantage of 'b' being dropped and so I imagine that it becomes significantly hardert to establish the convergence for 4 digits.....I'd like to hear a solution though....

Link to comment
Share on other sites

  • 0

And having read this article, I'm intruiged by the table showing how many iterations it takes to get to 6174:

Iteration Frequency

0 1

1 356

2 519

3 2124

4 1124

5 1379

6 1508

7 1980

(aside: any reason why [table] tags don't seem to work?)

Why is there such a peak at 3 iterations? Is there a subset of 3-digit numbers that have a particularly easyt route to 6174?

post-9181-1246295255.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...