How many products there are which have five as the last digit?
$begingroup$
Four fair dice are rolled and the four numbers shown are multiplied together. What is the probability that this product
(a) Is divisible by $5$?
(b) Has last digit $5$?
MY ATTEMPT
a) A number is divisible by $5$ if and only if it has at least one factor equal to $5$. Let us denote by $F$ the event "it occurs at least one number five". Hence the sought probability is given by
begin{align*}
textbf{P}(F) = 1 - textbf{P}(F^{c}) = 1 - frac{5^{4}}{6^{4}} = 1 - left(frac{5}{6}right)^{4}
end{align*}
b) Here is the problem. I am not able to describe properly the target results.
Am I on the right track? Can someone please help me to solve it? Any help is appreciated.
probability combinatorics
$endgroup$
add a comment |
$begingroup$
Four fair dice are rolled and the four numbers shown are multiplied together. What is the probability that this product
(a) Is divisible by $5$?
(b) Has last digit $5$?
MY ATTEMPT
a) A number is divisible by $5$ if and only if it has at least one factor equal to $5$. Let us denote by $F$ the event "it occurs at least one number five". Hence the sought probability is given by
begin{align*}
textbf{P}(F) = 1 - textbf{P}(F^{c}) = 1 - frac{5^{4}}{6^{4}} = 1 - left(frac{5}{6}right)^{4}
end{align*}
b) Here is the problem. I am not able to describe properly the target results.
Am I on the right track? Can someone please help me to solve it? Any help is appreciated.
probability combinatorics
$endgroup$
add a comment |
$begingroup$
Four fair dice are rolled and the four numbers shown are multiplied together. What is the probability that this product
(a) Is divisible by $5$?
(b) Has last digit $5$?
MY ATTEMPT
a) A number is divisible by $5$ if and only if it has at least one factor equal to $5$. Let us denote by $F$ the event "it occurs at least one number five". Hence the sought probability is given by
begin{align*}
textbf{P}(F) = 1 - textbf{P}(F^{c}) = 1 - frac{5^{4}}{6^{4}} = 1 - left(frac{5}{6}right)^{4}
end{align*}
b) Here is the problem. I am not able to describe properly the target results.
Am I on the right track? Can someone please help me to solve it? Any help is appreciated.
probability combinatorics
$endgroup$
Four fair dice are rolled and the four numbers shown are multiplied together. What is the probability that this product
(a) Is divisible by $5$?
(b) Has last digit $5$?
MY ATTEMPT
a) A number is divisible by $5$ if and only if it has at least one factor equal to $5$. Let us denote by $F$ the event "it occurs at least one number five". Hence the sought probability is given by
begin{align*}
textbf{P}(F) = 1 - textbf{P}(F^{c}) = 1 - frac{5^{4}}{6^{4}} = 1 - left(frac{5}{6}right)^{4}
end{align*}
b) Here is the problem. I am not able to describe properly the target results.
Am I on the right track? Can someone please help me to solve it? Any help is appreciated.
probability combinatorics
probability combinatorics
asked 1 hour ago
user1337user1337
815
815
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
$begingroup$
As others have noted, for part (b) you can first show that:
the product has last digit $5$ if and only if all the numbers are odd and there is at least one $5$.
From there, I would proceed like this (just slightly simpler than pwerth and José Carlos Santos's approaches):
begin{align*}
P(text{all odd AND at least one 5})
&= P(text{all odd}) - P(text{all odd and no 5}).
end{align*}
So, what is the probability that all dice are odd? And what is the probability all are odd and there is no $5$ (i.e., all dice are $1$ or $3$)?
$endgroup$
1
$begingroup$
+1 because it's the approach I was going to suggest and now I don't need to! (And it must surely be the simplest).
$endgroup$
– timtfj
1 hour ago
$begingroup$
If I got it right, the answer is $(1/2)^{4} - (1/3)^{4}$.
$endgroup$
– user1337
1 hour ago
$begingroup$
@user1337 Precisely!
$endgroup$
– 6005
1 hour ago
add a comment |
$begingroup$
a) looks good.
b) Hint: A number ends in $5$ if it both
- is divisible by $5$
- is odd (i.e. not divisible by $2$)
$endgroup$
add a comment |
$begingroup$
Your answer for part $(a)$ is correct. For part $(b)$, observe that a number $N$ has last digit $5$ iff it's divisible by $5$ and odd. This means that if we denote our rolls by $a,b,c,d$ then $N=abcd$ where at least one of $a,b,c,d$ is a $5$ and none of $a,b,c,d$ is even. This means we have to avoid $2,4,6$ on all rolls, as well as obtain at least one $5$.
- Case 1: Exactly one $5$. Choose one of $4$ positions for the $5$ and fill in the remaining three spots with either $1$ or $3$. This can be done in $binom{4}{1}cdot 2^{3}$ ways.
- Case 2: Exactly two $5$s. Choose two of $4$ positions for the $5$s and fill in the remaining two spots with either $1$ or $3$. This can be done in $binom{4}{2}cdot 2^{2}$ ways.
- Case 3: Exactly three $5$s. Choose three of $4$ positions for the $5$s and fill in the remaining spot with either $1$ or $3$. This can be done in $binom{4}{3}cdot 2^{1}$ ways.
- Case 4: All $5$s. There is only one way to do this.
The number of desirable outcomes is therefore
$$binom{4}{1}cdot 2^{3}+binom{4}{2}cdot 2^{2}+binom{4}{3}cdot 2+ 1$$
and since there are $6^{4}$ total outcomes, the desired probability is
$$frac{binom{4}{1}cdot 2^{3}+binom{4}{2}cdot 2^{2}+binom{4}{3}cdot 2+ 1}{6^{4}}$$
$endgroup$
add a comment |
$begingroup$
Your answer to the first question is correct.
Concerning the other question, note that the last digit will be $5$ if and only if there is at least one $5$ and, besides, all others are odd. So, the answer is the sum of $4$ numbers:
- the odds that there's exactly one five and the others are odd numbers: $displaystyle4timesfrac16timesleft(frac13right)^3$;
- the odds that there are exactly two fives and the others are odd numbers: $displaystyle6timesleft(frac16right)^2timesleft(frac13right)^2$;
- the odds that there are exactly three fives and the other is an odd number: $displaystyle4timesleft(frac16right)^3timesfrac13$;
- the odds that there are four fives: $displaystyleleft(frac16right)^4$.
$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%2f3070213%2fhow-many-products-there-are-which-have-five-as-the-last-digit%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
As others have noted, for part (b) you can first show that:
the product has last digit $5$ if and only if all the numbers are odd and there is at least one $5$.
From there, I would proceed like this (just slightly simpler than pwerth and José Carlos Santos's approaches):
begin{align*}
P(text{all odd AND at least one 5})
&= P(text{all odd}) - P(text{all odd and no 5}).
end{align*}
So, what is the probability that all dice are odd? And what is the probability all are odd and there is no $5$ (i.e., all dice are $1$ or $3$)?
$endgroup$
1
$begingroup$
+1 because it's the approach I was going to suggest and now I don't need to! (And it must surely be the simplest).
$endgroup$
– timtfj
1 hour ago
$begingroup$
If I got it right, the answer is $(1/2)^{4} - (1/3)^{4}$.
$endgroup$
– user1337
1 hour ago
$begingroup$
@user1337 Precisely!
$endgroup$
– 6005
1 hour ago
add a comment |
$begingroup$
As others have noted, for part (b) you can first show that:
the product has last digit $5$ if and only if all the numbers are odd and there is at least one $5$.
From there, I would proceed like this (just slightly simpler than pwerth and José Carlos Santos's approaches):
begin{align*}
P(text{all odd AND at least one 5})
&= P(text{all odd}) - P(text{all odd and no 5}).
end{align*}
So, what is the probability that all dice are odd? And what is the probability all are odd and there is no $5$ (i.e., all dice are $1$ or $3$)?
$endgroup$
1
$begingroup$
+1 because it's the approach I was going to suggest and now I don't need to! (And it must surely be the simplest).
$endgroup$
– timtfj
1 hour ago
$begingroup$
If I got it right, the answer is $(1/2)^{4} - (1/3)^{4}$.
$endgroup$
– user1337
1 hour ago
$begingroup$
@user1337 Precisely!
$endgroup$
– 6005
1 hour ago
add a comment |
$begingroup$
As others have noted, for part (b) you can first show that:
the product has last digit $5$ if and only if all the numbers are odd and there is at least one $5$.
From there, I would proceed like this (just slightly simpler than pwerth and José Carlos Santos's approaches):
begin{align*}
P(text{all odd AND at least one 5})
&= P(text{all odd}) - P(text{all odd and no 5}).
end{align*}
So, what is the probability that all dice are odd? And what is the probability all are odd and there is no $5$ (i.e., all dice are $1$ or $3$)?
$endgroup$
As others have noted, for part (b) you can first show that:
the product has last digit $5$ if and only if all the numbers are odd and there is at least one $5$.
From there, I would proceed like this (just slightly simpler than pwerth and José Carlos Santos's approaches):
begin{align*}
P(text{all odd AND at least one 5})
&= P(text{all odd}) - P(text{all odd and no 5}).
end{align*}
So, what is the probability that all dice are odd? And what is the probability all are odd and there is no $5$ (i.e., all dice are $1$ or $3$)?
answered 1 hour ago
60056005
35.9k751125
35.9k751125
1
$begingroup$
+1 because it's the approach I was going to suggest and now I don't need to! (And it must surely be the simplest).
$endgroup$
– timtfj
1 hour ago
$begingroup$
If I got it right, the answer is $(1/2)^{4} - (1/3)^{4}$.
$endgroup$
– user1337
1 hour ago
$begingroup$
@user1337 Precisely!
$endgroup$
– 6005
1 hour ago
add a comment |
1
$begingroup$
+1 because it's the approach I was going to suggest and now I don't need to! (And it must surely be the simplest).
$endgroup$
– timtfj
1 hour ago
$begingroup$
If I got it right, the answer is $(1/2)^{4} - (1/3)^{4}$.
$endgroup$
– user1337
1 hour ago
$begingroup$
@user1337 Precisely!
$endgroup$
– 6005
1 hour ago
1
1
$begingroup$
+1 because it's the approach I was going to suggest and now I don't need to! (And it must surely be the simplest).
$endgroup$
– timtfj
1 hour ago
$begingroup$
+1 because it's the approach I was going to suggest and now I don't need to! (And it must surely be the simplest).
$endgroup$
– timtfj
1 hour ago
$begingroup$
If I got it right, the answer is $(1/2)^{4} - (1/3)^{4}$.
$endgroup$
– user1337
1 hour ago
$begingroup$
If I got it right, the answer is $(1/2)^{4} - (1/3)^{4}$.
$endgroup$
– user1337
1 hour ago
$begingroup$
@user1337 Precisely!
$endgroup$
– 6005
1 hour ago
$begingroup$
@user1337 Precisely!
$endgroup$
– 6005
1 hour ago
add a comment |
$begingroup$
a) looks good.
b) Hint: A number ends in $5$ if it both
- is divisible by $5$
- is odd (i.e. not divisible by $2$)
$endgroup$
add a comment |
$begingroup$
a) looks good.
b) Hint: A number ends in $5$ if it both
- is divisible by $5$
- is odd (i.e. not divisible by $2$)
$endgroup$
add a comment |
$begingroup$
a) looks good.
b) Hint: A number ends in $5$ if it both
- is divisible by $5$
- is odd (i.e. not divisible by $2$)
$endgroup$
a) looks good.
b) Hint: A number ends in $5$ if it both
- is divisible by $5$
- is odd (i.e. not divisible by $2$)
answered 1 hour ago
ArthurArthur
112k7107190
112k7107190
add a comment |
add a comment |
$begingroup$
Your answer for part $(a)$ is correct. For part $(b)$, observe that a number $N$ has last digit $5$ iff it's divisible by $5$ and odd. This means that if we denote our rolls by $a,b,c,d$ then $N=abcd$ where at least one of $a,b,c,d$ is a $5$ and none of $a,b,c,d$ is even. This means we have to avoid $2,4,6$ on all rolls, as well as obtain at least one $5$.
- Case 1: Exactly one $5$. Choose one of $4$ positions for the $5$ and fill in the remaining three spots with either $1$ or $3$. This can be done in $binom{4}{1}cdot 2^{3}$ ways.
- Case 2: Exactly two $5$s. Choose two of $4$ positions for the $5$s and fill in the remaining two spots with either $1$ or $3$. This can be done in $binom{4}{2}cdot 2^{2}$ ways.
- Case 3: Exactly three $5$s. Choose three of $4$ positions for the $5$s and fill in the remaining spot with either $1$ or $3$. This can be done in $binom{4}{3}cdot 2^{1}$ ways.
- Case 4: All $5$s. There is only one way to do this.
The number of desirable outcomes is therefore
$$binom{4}{1}cdot 2^{3}+binom{4}{2}cdot 2^{2}+binom{4}{3}cdot 2+ 1$$
and since there are $6^{4}$ total outcomes, the desired probability is
$$frac{binom{4}{1}cdot 2^{3}+binom{4}{2}cdot 2^{2}+binom{4}{3}cdot 2+ 1}{6^{4}}$$
$endgroup$
add a comment |
$begingroup$
Your answer for part $(a)$ is correct. For part $(b)$, observe that a number $N$ has last digit $5$ iff it's divisible by $5$ and odd. This means that if we denote our rolls by $a,b,c,d$ then $N=abcd$ where at least one of $a,b,c,d$ is a $5$ and none of $a,b,c,d$ is even. This means we have to avoid $2,4,6$ on all rolls, as well as obtain at least one $5$.
- Case 1: Exactly one $5$. Choose one of $4$ positions for the $5$ and fill in the remaining three spots with either $1$ or $3$. This can be done in $binom{4}{1}cdot 2^{3}$ ways.
- Case 2: Exactly two $5$s. Choose two of $4$ positions for the $5$s and fill in the remaining two spots with either $1$ or $3$. This can be done in $binom{4}{2}cdot 2^{2}$ ways.
- Case 3: Exactly three $5$s. Choose three of $4$ positions for the $5$s and fill in the remaining spot with either $1$ or $3$. This can be done in $binom{4}{3}cdot 2^{1}$ ways.
- Case 4: All $5$s. There is only one way to do this.
The number of desirable outcomes is therefore
$$binom{4}{1}cdot 2^{3}+binom{4}{2}cdot 2^{2}+binom{4}{3}cdot 2+ 1$$
and since there are $6^{4}$ total outcomes, the desired probability is
$$frac{binom{4}{1}cdot 2^{3}+binom{4}{2}cdot 2^{2}+binom{4}{3}cdot 2+ 1}{6^{4}}$$
$endgroup$
add a comment |
$begingroup$
Your answer for part $(a)$ is correct. For part $(b)$, observe that a number $N$ has last digit $5$ iff it's divisible by $5$ and odd. This means that if we denote our rolls by $a,b,c,d$ then $N=abcd$ where at least one of $a,b,c,d$ is a $5$ and none of $a,b,c,d$ is even. This means we have to avoid $2,4,6$ on all rolls, as well as obtain at least one $5$.
- Case 1: Exactly one $5$. Choose one of $4$ positions for the $5$ and fill in the remaining three spots with either $1$ or $3$. This can be done in $binom{4}{1}cdot 2^{3}$ ways.
- Case 2: Exactly two $5$s. Choose two of $4$ positions for the $5$s and fill in the remaining two spots with either $1$ or $3$. This can be done in $binom{4}{2}cdot 2^{2}$ ways.
- Case 3: Exactly three $5$s. Choose three of $4$ positions for the $5$s and fill in the remaining spot with either $1$ or $3$. This can be done in $binom{4}{3}cdot 2^{1}$ ways.
- Case 4: All $5$s. There is only one way to do this.
The number of desirable outcomes is therefore
$$binom{4}{1}cdot 2^{3}+binom{4}{2}cdot 2^{2}+binom{4}{3}cdot 2+ 1$$
and since there are $6^{4}$ total outcomes, the desired probability is
$$frac{binom{4}{1}cdot 2^{3}+binom{4}{2}cdot 2^{2}+binom{4}{3}cdot 2+ 1}{6^{4}}$$
$endgroup$
Your answer for part $(a)$ is correct. For part $(b)$, observe that a number $N$ has last digit $5$ iff it's divisible by $5$ and odd. This means that if we denote our rolls by $a,b,c,d$ then $N=abcd$ where at least one of $a,b,c,d$ is a $5$ and none of $a,b,c,d$ is even. This means we have to avoid $2,4,6$ on all rolls, as well as obtain at least one $5$.
- Case 1: Exactly one $5$. Choose one of $4$ positions for the $5$ and fill in the remaining three spots with either $1$ or $3$. This can be done in $binom{4}{1}cdot 2^{3}$ ways.
- Case 2: Exactly two $5$s. Choose two of $4$ positions for the $5$s and fill in the remaining two spots with either $1$ or $3$. This can be done in $binom{4}{2}cdot 2^{2}$ ways.
- Case 3: Exactly three $5$s. Choose three of $4$ positions for the $5$s and fill in the remaining spot with either $1$ or $3$. This can be done in $binom{4}{3}cdot 2^{1}$ ways.
- Case 4: All $5$s. There is only one way to do this.
The number of desirable outcomes is therefore
$$binom{4}{1}cdot 2^{3}+binom{4}{2}cdot 2^{2}+binom{4}{3}cdot 2+ 1$$
and since there are $6^{4}$ total outcomes, the desired probability is
$$frac{binom{4}{1}cdot 2^{3}+binom{4}{2}cdot 2^{2}+binom{4}{3}cdot 2+ 1}{6^{4}}$$
answered 1 hour ago
pwerthpwerth
2,062413
2,062413
add a comment |
add a comment |
$begingroup$
Your answer to the first question is correct.
Concerning the other question, note that the last digit will be $5$ if and only if there is at least one $5$ and, besides, all others are odd. So, the answer is the sum of $4$ numbers:
- the odds that there's exactly one five and the others are odd numbers: $displaystyle4timesfrac16timesleft(frac13right)^3$;
- the odds that there are exactly two fives and the others are odd numbers: $displaystyle6timesleft(frac16right)^2timesleft(frac13right)^2$;
- the odds that there are exactly three fives and the other is an odd number: $displaystyle4timesleft(frac16right)^3timesfrac13$;
- the odds that there are four fives: $displaystyleleft(frac16right)^4$.
$endgroup$
add a comment |
$begingroup$
Your answer to the first question is correct.
Concerning the other question, note that the last digit will be $5$ if and only if there is at least one $5$ and, besides, all others are odd. So, the answer is the sum of $4$ numbers:
- the odds that there's exactly one five and the others are odd numbers: $displaystyle4timesfrac16timesleft(frac13right)^3$;
- the odds that there are exactly two fives and the others are odd numbers: $displaystyle6timesleft(frac16right)^2timesleft(frac13right)^2$;
- the odds that there are exactly three fives and the other is an odd number: $displaystyle4timesleft(frac16right)^3timesfrac13$;
- the odds that there are four fives: $displaystyleleft(frac16right)^4$.
$endgroup$
add a comment |
$begingroup$
Your answer to the first question is correct.
Concerning the other question, note that the last digit will be $5$ if and only if there is at least one $5$ and, besides, all others are odd. So, the answer is the sum of $4$ numbers:
- the odds that there's exactly one five and the others are odd numbers: $displaystyle4timesfrac16timesleft(frac13right)^3$;
- the odds that there are exactly two fives and the others are odd numbers: $displaystyle6timesleft(frac16right)^2timesleft(frac13right)^2$;
- the odds that there are exactly three fives and the other is an odd number: $displaystyle4timesleft(frac16right)^3timesfrac13$;
- the odds that there are four fives: $displaystyleleft(frac16right)^4$.
$endgroup$
Your answer to the first question is correct.
Concerning the other question, note that the last digit will be $5$ if and only if there is at least one $5$ and, besides, all others are odd. So, the answer is the sum of $4$ numbers:
- the odds that there's exactly one five and the others are odd numbers: $displaystyle4timesfrac16timesleft(frac13right)^3$;
- the odds that there are exactly two fives and the others are odd numbers: $displaystyle6timesleft(frac16right)^2timesleft(frac13right)^2$;
- the odds that there are exactly three fives and the other is an odd number: $displaystyle4timesleft(frac16right)^3timesfrac13$;
- the odds that there are four fives: $displaystyleleft(frac16right)^4$.
answered 1 hour ago
José Carlos SantosJosé Carlos Santos
153k22123225
153k22123225
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%2f3070213%2fhow-many-products-there-are-which-have-five-as-the-last-digit%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