How many digits are there in a number($x$) that contains only $3$,$4$,$5$ & $6$ when the sum of digits of...
$begingroup$
$x$ is a positive integer such that its digits can only be $3,4,5,6$. $x$ contains at least one copy of each of these four digits. The sum of the digits of $x$ is $900$ and the sum of the digits of $2x$ is also $900$.
Now how many digits are there in the product of maximum and minimum values of $x$?
To get the minimum & maximum numbers we need the minimum & maximum possible digits that produce 900 by addition.
The minimum number contains $1$ THREE, $1$ FOUR, $1$ FIVE and $(900-3-4-5)div6 = 148$ SIXs.
So the minimum number is $345666......(148 SIXs)$.
The maximum number contains $1$ FOUR, $1$ FIVE, $1$ SIX and $(900-4-5-6)div3 = 295$ ONEs.
So the maximum number is 654333...(295 THREEs).
This is how we can determine the minimum and maximum number where the sum of digits is 900. But how can we get the numbers when the sum of digits of $2x$ is also 900?
Then how can we determine the number of digits are there in the product of maximum and minimum values of $x$
number-theory real-numbers
$endgroup$
add a comment |
$begingroup$
$x$ is a positive integer such that its digits can only be $3,4,5,6$. $x$ contains at least one copy of each of these four digits. The sum of the digits of $x$ is $900$ and the sum of the digits of $2x$ is also $900$.
Now how many digits are there in the product of maximum and minimum values of $x$?
To get the minimum & maximum numbers we need the minimum & maximum possible digits that produce 900 by addition.
The minimum number contains $1$ THREE, $1$ FOUR, $1$ FIVE and $(900-3-4-5)div6 = 148$ SIXs.
So the minimum number is $345666......(148 SIXs)$.
The maximum number contains $1$ FOUR, $1$ FIVE, $1$ SIX and $(900-4-5-6)div3 = 295$ ONEs.
So the maximum number is 654333...(295 THREEs).
This is how we can determine the minimum and maximum number where the sum of digits is 900. But how can we get the numbers when the sum of digits of $2x$ is also 900?
Then how can we determine the number of digits are there in the product of maximum and minimum values of $x$
number-theory real-numbers
$endgroup$
add a comment |
$begingroup$
$x$ is a positive integer such that its digits can only be $3,4,5,6$. $x$ contains at least one copy of each of these four digits. The sum of the digits of $x$ is $900$ and the sum of the digits of $2x$ is also $900$.
Now how many digits are there in the product of maximum and minimum values of $x$?
To get the minimum & maximum numbers we need the minimum & maximum possible digits that produce 900 by addition.
The minimum number contains $1$ THREE, $1$ FOUR, $1$ FIVE and $(900-3-4-5)div6 = 148$ SIXs.
So the minimum number is $345666......(148 SIXs)$.
The maximum number contains $1$ FOUR, $1$ FIVE, $1$ SIX and $(900-4-5-6)div3 = 295$ ONEs.
So the maximum number is 654333...(295 THREEs).
This is how we can determine the minimum and maximum number where the sum of digits is 900. But how can we get the numbers when the sum of digits of $2x$ is also 900?
Then how can we determine the number of digits are there in the product of maximum and minimum values of $x$
number-theory real-numbers
$endgroup$
$x$ is a positive integer such that its digits can only be $3,4,5,6$. $x$ contains at least one copy of each of these four digits. The sum of the digits of $x$ is $900$ and the sum of the digits of $2x$ is also $900$.
Now how many digits are there in the product of maximum and minimum values of $x$?
To get the minimum & maximum numbers we need the minimum & maximum possible digits that produce 900 by addition.
The minimum number contains $1$ THREE, $1$ FOUR, $1$ FIVE and $(900-3-4-5)div6 = 148$ SIXs.
So the minimum number is $345666......(148 SIXs)$.
The maximum number contains $1$ FOUR, $1$ FIVE, $1$ SIX and $(900-4-5-6)div3 = 295$ ONEs.
So the maximum number is 654333...(295 THREEs).
This is how we can determine the minimum and maximum number where the sum of digits is 900. But how can we get the numbers when the sum of digits of $2x$ is also 900?
Then how can we determine the number of digits are there in the product of maximum and minimum values of $x$
number-theory real-numbers
number-theory real-numbers
asked Jan 14 at 4:54
T. A.T. A.
154
154
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
Denote the number of 3s, 4s, 5s, 6s with $a,b,c,d$. Obviously:
$$3a+4b+5c+6d=900tag{1}$$
Consider what happens when you double the number. Each digit 3 becomes 6 (ignore carryovers for a moment) and increases the sum of digits by 3. Each digit 4 becomes 8 and increases the sum of digits by 4. Each digit 5 becomes 0 but adds 1 as a carryover thus reducing the sum of digits by 4. And each digit 6 becomes 2 but adds 1 as a carryover thus reducing the sum of digits by 3. Because the sum of digits cannot change, increases and decreases must cancel out:
$$3a+4b-4c-3d=0tag{2}$$
Subtract (2) from (1) and you get:
$$9c+9d=900$$
or:
$$c+d=100tag{3}$$
Multiply (3) by 5 and subtract from (1). You get:
$$3a+4b+d=400tag{4}$$
Equations (3) and (4) are sufficient to find the minimum and maximum value of $x$.
Minimum value: Minimum value should have the smallest number of digits. Start from (4) and make $d$, than $b$ as big as possible. This gives you:
$$a=3, b=73, c=1, d=99$$
The smallest number has 176 digits and looks like this:
$$x_{min}=333underbrace{44dots44}_text{73 digits}5underbrace{66dots66}_text{99 digits}$$
Maximum value: Maximum value should have as many digits as possible. Start from (4) and maximize $a$. This gives you:
$$a=131, b=1, c=97, d=3$$
The biggest number has 232 digits and looks like this:
$$x_{max}=666underbrace{55dots55}_text{97 digits}4underbrace{33dots33}_text{131 digits}$$
Notice that:
$$3times 10^{175}lt x_{min}lt 4times 10^{175}$$
$$6times 10^{231}lt x_{max}lt 7times 10^{231}$$
Therefore:
$$18times 10^{406}lt x_{min} x_{max}lt 28times 10^{406}$$
...so the product of minimum and maximum value of $x$ must have exactly 408 digits.
$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%2f3072869%2fhow-many-digits-are-there-in-a-numberx-that-contains-only-3-4-5-6%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$
Denote the number of 3s, 4s, 5s, 6s with $a,b,c,d$. Obviously:
$$3a+4b+5c+6d=900tag{1}$$
Consider what happens when you double the number. Each digit 3 becomes 6 (ignore carryovers for a moment) and increases the sum of digits by 3. Each digit 4 becomes 8 and increases the sum of digits by 4. Each digit 5 becomes 0 but adds 1 as a carryover thus reducing the sum of digits by 4. And each digit 6 becomes 2 but adds 1 as a carryover thus reducing the sum of digits by 3. Because the sum of digits cannot change, increases and decreases must cancel out:
$$3a+4b-4c-3d=0tag{2}$$
Subtract (2) from (1) and you get:
$$9c+9d=900$$
or:
$$c+d=100tag{3}$$
Multiply (3) by 5 and subtract from (1). You get:
$$3a+4b+d=400tag{4}$$
Equations (3) and (4) are sufficient to find the minimum and maximum value of $x$.
Minimum value: Minimum value should have the smallest number of digits. Start from (4) and make $d$, than $b$ as big as possible. This gives you:
$$a=3, b=73, c=1, d=99$$
The smallest number has 176 digits and looks like this:
$$x_{min}=333underbrace{44dots44}_text{73 digits}5underbrace{66dots66}_text{99 digits}$$
Maximum value: Maximum value should have as many digits as possible. Start from (4) and maximize $a$. This gives you:
$$a=131, b=1, c=97, d=3$$
The biggest number has 232 digits and looks like this:
$$x_{max}=666underbrace{55dots55}_text{97 digits}4underbrace{33dots33}_text{131 digits}$$
Notice that:
$$3times 10^{175}lt x_{min}lt 4times 10^{175}$$
$$6times 10^{231}lt x_{max}lt 7times 10^{231}$$
Therefore:
$$18times 10^{406}lt x_{min} x_{max}lt 28times 10^{406}$$
...so the product of minimum and maximum value of $x$ must have exactly 408 digits.
$endgroup$
add a comment |
$begingroup$
Denote the number of 3s, 4s, 5s, 6s with $a,b,c,d$. Obviously:
$$3a+4b+5c+6d=900tag{1}$$
Consider what happens when you double the number. Each digit 3 becomes 6 (ignore carryovers for a moment) and increases the sum of digits by 3. Each digit 4 becomes 8 and increases the sum of digits by 4. Each digit 5 becomes 0 but adds 1 as a carryover thus reducing the sum of digits by 4. And each digit 6 becomes 2 but adds 1 as a carryover thus reducing the sum of digits by 3. Because the sum of digits cannot change, increases and decreases must cancel out:
$$3a+4b-4c-3d=0tag{2}$$
Subtract (2) from (1) and you get:
$$9c+9d=900$$
or:
$$c+d=100tag{3}$$
Multiply (3) by 5 and subtract from (1). You get:
$$3a+4b+d=400tag{4}$$
Equations (3) and (4) are sufficient to find the minimum and maximum value of $x$.
Minimum value: Minimum value should have the smallest number of digits. Start from (4) and make $d$, than $b$ as big as possible. This gives you:
$$a=3, b=73, c=1, d=99$$
The smallest number has 176 digits and looks like this:
$$x_{min}=333underbrace{44dots44}_text{73 digits}5underbrace{66dots66}_text{99 digits}$$
Maximum value: Maximum value should have as many digits as possible. Start from (4) and maximize $a$. This gives you:
$$a=131, b=1, c=97, d=3$$
The biggest number has 232 digits and looks like this:
$$x_{max}=666underbrace{55dots55}_text{97 digits}4underbrace{33dots33}_text{131 digits}$$
Notice that:
$$3times 10^{175}lt x_{min}lt 4times 10^{175}$$
$$6times 10^{231}lt x_{max}lt 7times 10^{231}$$
Therefore:
$$18times 10^{406}lt x_{min} x_{max}lt 28times 10^{406}$$
...so the product of minimum and maximum value of $x$ must have exactly 408 digits.
$endgroup$
add a comment |
$begingroup$
Denote the number of 3s, 4s, 5s, 6s with $a,b,c,d$. Obviously:
$$3a+4b+5c+6d=900tag{1}$$
Consider what happens when you double the number. Each digit 3 becomes 6 (ignore carryovers for a moment) and increases the sum of digits by 3. Each digit 4 becomes 8 and increases the sum of digits by 4. Each digit 5 becomes 0 but adds 1 as a carryover thus reducing the sum of digits by 4. And each digit 6 becomes 2 but adds 1 as a carryover thus reducing the sum of digits by 3. Because the sum of digits cannot change, increases and decreases must cancel out:
$$3a+4b-4c-3d=0tag{2}$$
Subtract (2) from (1) and you get:
$$9c+9d=900$$
or:
$$c+d=100tag{3}$$
Multiply (3) by 5 and subtract from (1). You get:
$$3a+4b+d=400tag{4}$$
Equations (3) and (4) are sufficient to find the minimum and maximum value of $x$.
Minimum value: Minimum value should have the smallest number of digits. Start from (4) and make $d$, than $b$ as big as possible. This gives you:
$$a=3, b=73, c=1, d=99$$
The smallest number has 176 digits and looks like this:
$$x_{min}=333underbrace{44dots44}_text{73 digits}5underbrace{66dots66}_text{99 digits}$$
Maximum value: Maximum value should have as many digits as possible. Start from (4) and maximize $a$. This gives you:
$$a=131, b=1, c=97, d=3$$
The biggest number has 232 digits and looks like this:
$$x_{max}=666underbrace{55dots55}_text{97 digits}4underbrace{33dots33}_text{131 digits}$$
Notice that:
$$3times 10^{175}lt x_{min}lt 4times 10^{175}$$
$$6times 10^{231}lt x_{max}lt 7times 10^{231}$$
Therefore:
$$18times 10^{406}lt x_{min} x_{max}lt 28times 10^{406}$$
...so the product of minimum and maximum value of $x$ must have exactly 408 digits.
$endgroup$
Denote the number of 3s, 4s, 5s, 6s with $a,b,c,d$. Obviously:
$$3a+4b+5c+6d=900tag{1}$$
Consider what happens when you double the number. Each digit 3 becomes 6 (ignore carryovers for a moment) and increases the sum of digits by 3. Each digit 4 becomes 8 and increases the sum of digits by 4. Each digit 5 becomes 0 but adds 1 as a carryover thus reducing the sum of digits by 4. And each digit 6 becomes 2 but adds 1 as a carryover thus reducing the sum of digits by 3. Because the sum of digits cannot change, increases and decreases must cancel out:
$$3a+4b-4c-3d=0tag{2}$$
Subtract (2) from (1) and you get:
$$9c+9d=900$$
or:
$$c+d=100tag{3}$$
Multiply (3) by 5 and subtract from (1). You get:
$$3a+4b+d=400tag{4}$$
Equations (3) and (4) are sufficient to find the minimum and maximum value of $x$.
Minimum value: Minimum value should have the smallest number of digits. Start from (4) and make $d$, than $b$ as big as possible. This gives you:
$$a=3, b=73, c=1, d=99$$
The smallest number has 176 digits and looks like this:
$$x_{min}=333underbrace{44dots44}_text{73 digits}5underbrace{66dots66}_text{99 digits}$$
Maximum value: Maximum value should have as many digits as possible. Start from (4) and maximize $a$. This gives you:
$$a=131, b=1, c=97, d=3$$
The biggest number has 232 digits and looks like this:
$$x_{max}=666underbrace{55dots55}_text{97 digits}4underbrace{33dots33}_text{131 digits}$$
Notice that:
$$3times 10^{175}lt x_{min}lt 4times 10^{175}$$
$$6times 10^{231}lt x_{max}lt 7times 10^{231}$$
Therefore:
$$18times 10^{406}lt x_{min} x_{max}lt 28times 10^{406}$$
...so the product of minimum and maximum value of $x$ must have exactly 408 digits.
edited Jan 14 at 10:41
answered Jan 14 at 9:26
OldboyOldboy
7,8401935
7,8401935
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%2f3072869%2fhow-many-digits-are-there-in-a-numberx-that-contains-only-3-4-5-6%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