Proof of convergence of Kaprekar's Constant
$begingroup$
I've tried googling this one a bit but nothing seems to come up, even though its considered to be a well known fact.
Why does the kaprekar process of taking a 4 digit number: L, generating L' and L'' such that L' is the digits of L in ascending order and L'' is the digits in descending order and subtracting L' - L'' always converge to the Kaprekar constant of 6174?
Clearly the only value for which this process is constant is 6174 but that doesn't explain why there should be convergence.
One attempt at proof is to determine all the possible numbers that converge to 6174 after a single iteration, and then attempt to reason that each too can be reached by the convergence of even more numbers in such a way that if I continue this reasoning I should cover ALL 4 digit numbers.
But to turn my strategy into induction from brute force casework has become futile. What is the actual proof?
sequences-and-series number-theory elementary-number-theory recreational-mathematics
$endgroup$
add a comment |
$begingroup$
I've tried googling this one a bit but nothing seems to come up, even though its considered to be a well known fact.
Why does the kaprekar process of taking a 4 digit number: L, generating L' and L'' such that L' is the digits of L in ascending order and L'' is the digits in descending order and subtracting L' - L'' always converge to the Kaprekar constant of 6174?
Clearly the only value for which this process is constant is 6174 but that doesn't explain why there should be convergence.
One attempt at proof is to determine all the possible numbers that converge to 6174 after a single iteration, and then attempt to reason that each too can be reached by the convergence of even more numbers in such a way that if I continue this reasoning I should cover ALL 4 digit numbers.
But to turn my strategy into induction from brute force casework has become futile. What is the actual proof?
sequences-and-series number-theory elementary-number-theory recreational-mathematics
$endgroup$
1
$begingroup$
This old question has some nice links to the literature, so you might look there as well
$endgroup$
– Semiclassical
Jul 26 '14 at 4:08
1
$begingroup$
I read recently that it is essentially a set of cases, so it's not too illuminating.
$endgroup$
– marty cohen
Jul 26 '14 at 5:16
$begingroup$
What are the basic cases?
$endgroup$
– frogeyedpeas
Jul 27 '14 at 19:58
$begingroup$
You map repeatedly the finite set ${1000, 1001, dots9999}$ onto itself, so either you hit a fixed point, either you reach a cycle. To find out all possibilities, you only have a finite computation to do (but a computer may help). Note that for $3$ digits the only fixed point is $495$, but for $5$ digits there is no fixed point except $0$, and there are $3$ possible cycles, $(62964, 71973, 83952, 74943)$, $(61974, 82962, 75933, 63954)$ and $(53955, 59994)$.
$endgroup$
– Jean-Claude Arbaut
Dec 6 '18 at 10:57
add a comment |
$begingroup$
I've tried googling this one a bit but nothing seems to come up, even though its considered to be a well known fact.
Why does the kaprekar process of taking a 4 digit number: L, generating L' and L'' such that L' is the digits of L in ascending order and L'' is the digits in descending order and subtracting L' - L'' always converge to the Kaprekar constant of 6174?
Clearly the only value for which this process is constant is 6174 but that doesn't explain why there should be convergence.
One attempt at proof is to determine all the possible numbers that converge to 6174 after a single iteration, and then attempt to reason that each too can be reached by the convergence of even more numbers in such a way that if I continue this reasoning I should cover ALL 4 digit numbers.
But to turn my strategy into induction from brute force casework has become futile. What is the actual proof?
sequences-and-series number-theory elementary-number-theory recreational-mathematics
$endgroup$
I've tried googling this one a bit but nothing seems to come up, even though its considered to be a well known fact.
Why does the kaprekar process of taking a 4 digit number: L, generating L' and L'' such that L' is the digits of L in ascending order and L'' is the digits in descending order and subtracting L' - L'' always converge to the Kaprekar constant of 6174?
Clearly the only value for which this process is constant is 6174 but that doesn't explain why there should be convergence.
One attempt at proof is to determine all the possible numbers that converge to 6174 after a single iteration, and then attempt to reason that each too can be reached by the convergence of even more numbers in such a way that if I continue this reasoning I should cover ALL 4 digit numbers.
But to turn my strategy into induction from brute force casework has become futile. What is the actual proof?
sequences-and-series number-theory elementary-number-theory recreational-mathematics
sequences-and-series number-theory elementary-number-theory recreational-mathematics
asked Jul 26 '14 at 4:06
frogeyedpeasfrogeyedpeas
7,45071949
7,45071949
1
$begingroup$
This old question has some nice links to the literature, so you might look there as well
$endgroup$
– Semiclassical
Jul 26 '14 at 4:08
1
$begingroup$
I read recently that it is essentially a set of cases, so it's not too illuminating.
$endgroup$
– marty cohen
Jul 26 '14 at 5:16
$begingroup$
What are the basic cases?
$endgroup$
– frogeyedpeas
Jul 27 '14 at 19:58
$begingroup$
You map repeatedly the finite set ${1000, 1001, dots9999}$ onto itself, so either you hit a fixed point, either you reach a cycle. To find out all possibilities, you only have a finite computation to do (but a computer may help). Note that for $3$ digits the only fixed point is $495$, but for $5$ digits there is no fixed point except $0$, and there are $3$ possible cycles, $(62964, 71973, 83952, 74943)$, $(61974, 82962, 75933, 63954)$ and $(53955, 59994)$.
$endgroup$
– Jean-Claude Arbaut
Dec 6 '18 at 10:57
add a comment |
1
$begingroup$
This old question has some nice links to the literature, so you might look there as well
$endgroup$
– Semiclassical
Jul 26 '14 at 4:08
1
$begingroup$
I read recently that it is essentially a set of cases, so it's not too illuminating.
$endgroup$
– marty cohen
Jul 26 '14 at 5:16
$begingroup$
What are the basic cases?
$endgroup$
– frogeyedpeas
Jul 27 '14 at 19:58
$begingroup$
You map repeatedly the finite set ${1000, 1001, dots9999}$ onto itself, so either you hit a fixed point, either you reach a cycle. To find out all possibilities, you only have a finite computation to do (but a computer may help). Note that for $3$ digits the only fixed point is $495$, but for $5$ digits there is no fixed point except $0$, and there are $3$ possible cycles, $(62964, 71973, 83952, 74943)$, $(61974, 82962, 75933, 63954)$ and $(53955, 59994)$.
$endgroup$
– Jean-Claude Arbaut
Dec 6 '18 at 10:57
1
1
$begingroup$
This old question has some nice links to the literature, so you might look there as well
$endgroup$
– Semiclassical
Jul 26 '14 at 4:08
$begingroup$
This old question has some nice links to the literature, so you might look there as well
$endgroup$
– Semiclassical
Jul 26 '14 at 4:08
1
1
$begingroup$
I read recently that it is essentially a set of cases, so it's not too illuminating.
$endgroup$
– marty cohen
Jul 26 '14 at 5:16
$begingroup$
I read recently that it is essentially a set of cases, so it's not too illuminating.
$endgroup$
– marty cohen
Jul 26 '14 at 5:16
$begingroup$
What are the basic cases?
$endgroup$
– frogeyedpeas
Jul 27 '14 at 19:58
$begingroup$
What are the basic cases?
$endgroup$
– frogeyedpeas
Jul 27 '14 at 19:58
$begingroup$
You map repeatedly the finite set ${1000, 1001, dots9999}$ onto itself, so either you hit a fixed point, either you reach a cycle. To find out all possibilities, you only have a finite computation to do (but a computer may help). Note that for $3$ digits the only fixed point is $495$, but for $5$ digits there is no fixed point except $0$, and there are $3$ possible cycles, $(62964, 71973, 83952, 74943)$, $(61974, 82962, 75933, 63954)$ and $(53955, 59994)$.
$endgroup$
– Jean-Claude Arbaut
Dec 6 '18 at 10:57
$begingroup$
You map repeatedly the finite set ${1000, 1001, dots9999}$ onto itself, so either you hit a fixed point, either you reach a cycle. To find out all possibilities, you only have a finite computation to do (but a computer may help). Note that for $3$ digits the only fixed point is $495$, but for $5$ digits there is no fixed point except $0$, and there are $3$ possible cycles, $(62964, 71973, 83952, 74943)$, $(61974, 82962, 75933, 63954)$ and $(53955, 59994)$.
$endgroup$
– Jean-Claude Arbaut
Dec 6 '18 at 10:57
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
When considering only 4 digit numbers, this problem can be expanded to any base and when you do that it can then be reduced to a system of 14 equations. 6174 is the only solution in base 10.
Other solutions are:
$$0111_2, 1001_2,3021_4, qquad 3032_5, 6174_{10}, 92b6_{15}, c3f8_{20},dots $$
$endgroup$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f878467%2fproof-of-convergence-of-kaprekars-constant%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
When considering only 4 digit numbers, this problem can be expanded to any base and when you do that it can then be reduced to a system of 14 equations. 6174 is the only solution in base 10.
Other solutions are:
$$0111_2, 1001_2,3021_4, qquad 3032_5, 6174_{10}, 92b6_{15}, c3f8_{20},dots $$
$endgroup$
add a comment |
$begingroup$
When considering only 4 digit numbers, this problem can be expanded to any base and when you do that it can then be reduced to a system of 14 equations. 6174 is the only solution in base 10.
Other solutions are:
$$0111_2, 1001_2,3021_4, qquad 3032_5, 6174_{10}, 92b6_{15}, c3f8_{20},dots $$
$endgroup$
add a comment |
$begingroup$
When considering only 4 digit numbers, this problem can be expanded to any base and when you do that it can then be reduced to a system of 14 equations. 6174 is the only solution in base 10.
Other solutions are:
$$0111_2, 1001_2,3021_4, qquad 3032_5, 6174_{10}, 92b6_{15}, c3f8_{20},dots $$
$endgroup$
When considering only 4 digit numbers, this problem can be expanded to any base and when you do that it can then be reduced to a system of 14 equations. 6174 is the only solution in base 10.
Other solutions are:
$$0111_2, 1001_2,3021_4, qquad 3032_5, 6174_{10}, 92b6_{15}, c3f8_{20},dots $$
edited Dec 6 '18 at 11:40
answered Dec 6 '18 at 9:53
Ben CrossleyBen Crossley
872318
872318
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f878467%2fproof-of-convergence-of-kaprekars-constant%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
$begingroup$
This old question has some nice links to the literature, so you might look there as well
$endgroup$
– Semiclassical
Jul 26 '14 at 4:08
1
$begingroup$
I read recently that it is essentially a set of cases, so it's not too illuminating.
$endgroup$
– marty cohen
Jul 26 '14 at 5:16
$begingroup$
What are the basic cases?
$endgroup$
– frogeyedpeas
Jul 27 '14 at 19:58
$begingroup$
You map repeatedly the finite set ${1000, 1001, dots9999}$ onto itself, so either you hit a fixed point, either you reach a cycle. To find out all possibilities, you only have a finite computation to do (but a computer may help). Note that for $3$ digits the only fixed point is $495$, but for $5$ digits there is no fixed point except $0$, and there are $3$ possible cycles, $(62964, 71973, 83952, 74943)$, $(61974, 82962, 75933, 63954)$ and $(53955, 59994)$.
$endgroup$
– Jean-Claude Arbaut
Dec 6 '18 at 10:57