Probability that 4 single digit numbers whose sum is 28 contain at least two prime numbers
$begingroup$
What is the probability that a list of 4, not necessarily distinct, single-digit numbers, whose sum is 28, will contain at least two prime numbers?
There are not a whole lot of possible "desirable" cases ,but I was trying to see if there's a way to limit my search.
elementary-number-theory elementary-probability
$endgroup$
|
show 2 more comments
$begingroup$
What is the probability that a list of 4, not necessarily distinct, single-digit numbers, whose sum is 28, will contain at least two prime numbers?
There are not a whole lot of possible "desirable" cases ,but I was trying to see if there's a way to limit my search.
elementary-number-theory elementary-probability
$endgroup$
1
$begingroup$
why can you not compute this by straight enumeration in excel, say?
$endgroup$
– gt6989b
Jan 25 at 19:07
$begingroup$
Does $6,7,7,8$ count?
$endgroup$
– TonyK
Jan 25 at 19:08
3
$begingroup$
Notice that $9+9+5+5 = 28$ is the largest possible sum involving two primes both of which smaller than $7$. It follows that all sequences of four digits whose sum is $28$ and have at least two primes must include at least one $7$ such as $9+9+7+3, 9+7+7+5, 8+7+7+6, 7+7+7+7$. Convince yourself that we have found the full list and count the number of arrangements of the digits. Finally, divide by the total number of sequences of 4 digits whose sum is $28$ to get the probability.
$endgroup$
– JMoravitz
Jan 25 at 19:13
$begingroup$
@gt6989b I'm trying to see if anyone gets better way than bashing. Hence this is tagged "elementary"
$endgroup$
– The Pianist
Jan 25 at 19:13
1
$begingroup$
Welcome to MSE. You are much more likely to get a response if you show what you have tried and where you are stuck. Please show your working.
$endgroup$
– stuart stevenson
Jan 25 at 19:13
|
show 2 more comments
$begingroup$
What is the probability that a list of 4, not necessarily distinct, single-digit numbers, whose sum is 28, will contain at least two prime numbers?
There are not a whole lot of possible "desirable" cases ,but I was trying to see if there's a way to limit my search.
elementary-number-theory elementary-probability
$endgroup$
What is the probability that a list of 4, not necessarily distinct, single-digit numbers, whose sum is 28, will contain at least two prime numbers?
There are not a whole lot of possible "desirable" cases ,but I was trying to see if there's a way to limit my search.
elementary-number-theory elementary-probability
elementary-number-theory elementary-probability
edited Jan 25 at 19:24
The Pianist
asked Jan 25 at 19:05


The PianistThe Pianist
153
153
1
$begingroup$
why can you not compute this by straight enumeration in excel, say?
$endgroup$
– gt6989b
Jan 25 at 19:07
$begingroup$
Does $6,7,7,8$ count?
$endgroup$
– TonyK
Jan 25 at 19:08
3
$begingroup$
Notice that $9+9+5+5 = 28$ is the largest possible sum involving two primes both of which smaller than $7$. It follows that all sequences of four digits whose sum is $28$ and have at least two primes must include at least one $7$ such as $9+9+7+3, 9+7+7+5, 8+7+7+6, 7+7+7+7$. Convince yourself that we have found the full list and count the number of arrangements of the digits. Finally, divide by the total number of sequences of 4 digits whose sum is $28$ to get the probability.
$endgroup$
– JMoravitz
Jan 25 at 19:13
$begingroup$
@gt6989b I'm trying to see if anyone gets better way than bashing. Hence this is tagged "elementary"
$endgroup$
– The Pianist
Jan 25 at 19:13
1
$begingroup$
Welcome to MSE. You are much more likely to get a response if you show what you have tried and where you are stuck. Please show your working.
$endgroup$
– stuart stevenson
Jan 25 at 19:13
|
show 2 more comments
1
$begingroup$
why can you not compute this by straight enumeration in excel, say?
$endgroup$
– gt6989b
Jan 25 at 19:07
$begingroup$
Does $6,7,7,8$ count?
$endgroup$
– TonyK
Jan 25 at 19:08
3
$begingroup$
Notice that $9+9+5+5 = 28$ is the largest possible sum involving two primes both of which smaller than $7$. It follows that all sequences of four digits whose sum is $28$ and have at least two primes must include at least one $7$ such as $9+9+7+3, 9+7+7+5, 8+7+7+6, 7+7+7+7$. Convince yourself that we have found the full list and count the number of arrangements of the digits. Finally, divide by the total number of sequences of 4 digits whose sum is $28$ to get the probability.
$endgroup$
– JMoravitz
Jan 25 at 19:13
$begingroup$
@gt6989b I'm trying to see if anyone gets better way than bashing. Hence this is tagged "elementary"
$endgroup$
– The Pianist
Jan 25 at 19:13
1
$begingroup$
Welcome to MSE. You are much more likely to get a response if you show what you have tried and where you are stuck. Please show your working.
$endgroup$
– stuart stevenson
Jan 25 at 19:13
1
1
$begingroup$
why can you not compute this by straight enumeration in excel, say?
$endgroup$
– gt6989b
Jan 25 at 19:07
$begingroup$
why can you not compute this by straight enumeration in excel, say?
$endgroup$
– gt6989b
Jan 25 at 19:07
$begingroup$
Does $6,7,7,8$ count?
$endgroup$
– TonyK
Jan 25 at 19:08
$begingroup$
Does $6,7,7,8$ count?
$endgroup$
– TonyK
Jan 25 at 19:08
3
3
$begingroup$
Notice that $9+9+5+5 = 28$ is the largest possible sum involving two primes both of which smaller than $7$. It follows that all sequences of four digits whose sum is $28$ and have at least two primes must include at least one $7$ such as $9+9+7+3, 9+7+7+5, 8+7+7+6, 7+7+7+7$. Convince yourself that we have found the full list and count the number of arrangements of the digits. Finally, divide by the total number of sequences of 4 digits whose sum is $28$ to get the probability.
$endgroup$
– JMoravitz
Jan 25 at 19:13
$begingroup$
Notice that $9+9+5+5 = 28$ is the largest possible sum involving two primes both of which smaller than $7$. It follows that all sequences of four digits whose sum is $28$ and have at least two primes must include at least one $7$ such as $9+9+7+3, 9+7+7+5, 8+7+7+6, 7+7+7+7$. Convince yourself that we have found the full list and count the number of arrangements of the digits. Finally, divide by the total number of sequences of 4 digits whose sum is $28$ to get the probability.
$endgroup$
– JMoravitz
Jan 25 at 19:13
$begingroup$
@gt6989b I'm trying to see if anyone gets better way than bashing. Hence this is tagged "elementary"
$endgroup$
– The Pianist
Jan 25 at 19:13
$begingroup$
@gt6989b I'm trying to see if anyone gets better way than bashing. Hence this is tagged "elementary"
$endgroup$
– The Pianist
Jan 25 at 19:13
1
1
$begingroup$
Welcome to MSE. You are much more likely to get a response if you show what you have tried and where you are stuck. Please show your working.
$endgroup$
– stuart stevenson
Jan 25 at 19:13
$begingroup$
Welcome to MSE. You are much more likely to get a response if you show what you have tried and where you are stuck. Please show your working.
$endgroup$
– stuart stevenson
Jan 25 at 19:13
|
show 2 more comments
1 Answer
1
active
oldest
votes
$begingroup$
There are only six cases that fulfill the requirements:
{{9, 9, 7, 3}, {9, 9, 5, 5}, {9, 7, 7, 5}, {8, 8, 7, 5}, {8, 7, 7, 6}, {7, 7, 7, 7}}
The total number of cases is 15, so the probability is $0.4$.
Start with the highest value in a set of four is $9$. If the next value is also $9$, then the following two values must be primes, giving $7$ and $3$ or $5$ and $5$.
It is simple to see that $9, 8$ has no two prime completions, to move to $9, 7$. The only completion is then $7, 5$. And we're done with $9$ as the largest digit.
Consider $8$ as the largest digit. The largest second digit is then $8$, which gives a completion of $7, 5$.
And so on....
$endgroup$
1
$begingroup$
The only missing case seems to be {8,7,7,6}. Inspired by replies, I came to this approach: since 28/4=7, the 4 numbers should be relatively large. Let's start from the two primes, we have only four cases {7,7}, {7,5}, {5,5}, and {7,3}. For each case we can easily find the remaining two numbers. Total number of desirable cases is 6. If I'm not mistaken, the number of all cases with sum of 28 is 15 (9/9/9/1, all the way to 7/7/7/7). So the probability is 6/15=2/5.
$endgroup$
– The Pianist
Jan 25 at 21:10
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%2f3087499%2fprobability-that-4-single-digit-numbers-whose-sum-is-28-contain-at-least-two-pri%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$
There are only six cases that fulfill the requirements:
{{9, 9, 7, 3}, {9, 9, 5, 5}, {9, 7, 7, 5}, {8, 8, 7, 5}, {8, 7, 7, 6}, {7, 7, 7, 7}}
The total number of cases is 15, so the probability is $0.4$.
Start with the highest value in a set of four is $9$. If the next value is also $9$, then the following two values must be primes, giving $7$ and $3$ or $5$ and $5$.
It is simple to see that $9, 8$ has no two prime completions, to move to $9, 7$. The only completion is then $7, 5$. And we're done with $9$ as the largest digit.
Consider $8$ as the largest digit. The largest second digit is then $8$, which gives a completion of $7, 5$.
And so on....
$endgroup$
1
$begingroup$
The only missing case seems to be {8,7,7,6}. Inspired by replies, I came to this approach: since 28/4=7, the 4 numbers should be relatively large. Let's start from the two primes, we have only four cases {7,7}, {7,5}, {5,5}, and {7,3}. For each case we can easily find the remaining two numbers. Total number of desirable cases is 6. If I'm not mistaken, the number of all cases with sum of 28 is 15 (9/9/9/1, all the way to 7/7/7/7). So the probability is 6/15=2/5.
$endgroup$
– The Pianist
Jan 25 at 21:10
add a comment |
$begingroup$
There are only six cases that fulfill the requirements:
{{9, 9, 7, 3}, {9, 9, 5, 5}, {9, 7, 7, 5}, {8, 8, 7, 5}, {8, 7, 7, 6}, {7, 7, 7, 7}}
The total number of cases is 15, so the probability is $0.4$.
Start with the highest value in a set of four is $9$. If the next value is also $9$, then the following two values must be primes, giving $7$ and $3$ or $5$ and $5$.
It is simple to see that $9, 8$ has no two prime completions, to move to $9, 7$. The only completion is then $7, 5$. And we're done with $9$ as the largest digit.
Consider $8$ as the largest digit. The largest second digit is then $8$, which gives a completion of $7, 5$.
And so on....
$endgroup$
1
$begingroup$
The only missing case seems to be {8,7,7,6}. Inspired by replies, I came to this approach: since 28/4=7, the 4 numbers should be relatively large. Let's start from the two primes, we have only four cases {7,7}, {7,5}, {5,5}, and {7,3}. For each case we can easily find the remaining two numbers. Total number of desirable cases is 6. If I'm not mistaken, the number of all cases with sum of 28 is 15 (9/9/9/1, all the way to 7/7/7/7). So the probability is 6/15=2/5.
$endgroup$
– The Pianist
Jan 25 at 21:10
add a comment |
$begingroup$
There are only six cases that fulfill the requirements:
{{9, 9, 7, 3}, {9, 9, 5, 5}, {9, 7, 7, 5}, {8, 8, 7, 5}, {8, 7, 7, 6}, {7, 7, 7, 7}}
The total number of cases is 15, so the probability is $0.4$.
Start with the highest value in a set of four is $9$. If the next value is also $9$, then the following two values must be primes, giving $7$ and $3$ or $5$ and $5$.
It is simple to see that $9, 8$ has no two prime completions, to move to $9, 7$. The only completion is then $7, 5$. And we're done with $9$ as the largest digit.
Consider $8$ as the largest digit. The largest second digit is then $8$, which gives a completion of $7, 5$.
And so on....
$endgroup$
There are only six cases that fulfill the requirements:
{{9, 9, 7, 3}, {9, 9, 5, 5}, {9, 7, 7, 5}, {8, 8, 7, 5}, {8, 7, 7, 6}, {7, 7, 7, 7}}
The total number of cases is 15, so the probability is $0.4$.
Start with the highest value in a set of four is $9$. If the next value is also $9$, then the following two values must be primes, giving $7$ and $3$ or $5$ and $5$.
It is simple to see that $9, 8$ has no two prime completions, to move to $9, 7$. The only completion is then $7, 5$. And we're done with $9$ as the largest digit.
Consider $8$ as the largest digit. The largest second digit is then $8$, which gives a completion of $7, 5$.
And so on....
edited Jan 25 at 21:32
answered Jan 25 at 20:12


David G. StorkDavid G. Stork
11.1k41432
11.1k41432
1
$begingroup$
The only missing case seems to be {8,7,7,6}. Inspired by replies, I came to this approach: since 28/4=7, the 4 numbers should be relatively large. Let's start from the two primes, we have only four cases {7,7}, {7,5}, {5,5}, and {7,3}. For each case we can easily find the remaining two numbers. Total number of desirable cases is 6. If I'm not mistaken, the number of all cases with sum of 28 is 15 (9/9/9/1, all the way to 7/7/7/7). So the probability is 6/15=2/5.
$endgroup$
– The Pianist
Jan 25 at 21:10
add a comment |
1
$begingroup$
The only missing case seems to be {8,7,7,6}. Inspired by replies, I came to this approach: since 28/4=7, the 4 numbers should be relatively large. Let's start from the two primes, we have only four cases {7,7}, {7,5}, {5,5}, and {7,3}. For each case we can easily find the remaining two numbers. Total number of desirable cases is 6. If I'm not mistaken, the number of all cases with sum of 28 is 15 (9/9/9/1, all the way to 7/7/7/7). So the probability is 6/15=2/5.
$endgroup$
– The Pianist
Jan 25 at 21:10
1
1
$begingroup$
The only missing case seems to be {8,7,7,6}. Inspired by replies, I came to this approach: since 28/4=7, the 4 numbers should be relatively large. Let's start from the two primes, we have only four cases {7,7}, {7,5}, {5,5}, and {7,3}. For each case we can easily find the remaining two numbers. Total number of desirable cases is 6. If I'm not mistaken, the number of all cases with sum of 28 is 15 (9/9/9/1, all the way to 7/7/7/7). So the probability is 6/15=2/5.
$endgroup$
– The Pianist
Jan 25 at 21:10
$begingroup$
The only missing case seems to be {8,7,7,6}. Inspired by replies, I came to this approach: since 28/4=7, the 4 numbers should be relatively large. Let's start from the two primes, we have only four cases {7,7}, {7,5}, {5,5}, and {7,3}. For each case we can easily find the remaining two numbers. Total number of desirable cases is 6. If I'm not mistaken, the number of all cases with sum of 28 is 15 (9/9/9/1, all the way to 7/7/7/7). So the probability is 6/15=2/5.
$endgroup$
– The Pianist
Jan 25 at 21:10
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%2f3087499%2fprobability-that-4-single-digit-numbers-whose-sum-is-28-contain-at-least-two-pri%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$
why can you not compute this by straight enumeration in excel, say?
$endgroup$
– gt6989b
Jan 25 at 19:07
$begingroup$
Does $6,7,7,8$ count?
$endgroup$
– TonyK
Jan 25 at 19:08
3
$begingroup$
Notice that $9+9+5+5 = 28$ is the largest possible sum involving two primes both of which smaller than $7$. It follows that all sequences of four digits whose sum is $28$ and have at least two primes must include at least one $7$ such as $9+9+7+3, 9+7+7+5, 8+7+7+6, 7+7+7+7$. Convince yourself that we have found the full list and count the number of arrangements of the digits. Finally, divide by the total number of sequences of 4 digits whose sum is $28$ to get the probability.
$endgroup$
– JMoravitz
Jan 25 at 19:13
$begingroup$
@gt6989b I'm trying to see if anyone gets better way than bashing. Hence this is tagged "elementary"
$endgroup$
– The Pianist
Jan 25 at 19:13
1
$begingroup$
Welcome to MSE. You are much more likely to get a response if you show what you have tried and where you are stuck. Please show your working.
$endgroup$
– stuart stevenson
Jan 25 at 19:13