Probability that $1$ and $2in A$ where $Asubset X_n$












2












$begingroup$



Let $x_n={1,2,3,...,n}$ and let a subset $A$ of $X_n$ be chosen so that every pair of elements of $A$ differ by at least $3$. When $n=10$, let probability that $1in A=p$ and probability that $2in A=q$.
Find $p$ and $q$.




I am not being able to find either the sample space or decide how to find the number of events in $p$ and $q$.



How should I do it? Thanks in advance!










share|cite|improve this question











$endgroup$












  • $begingroup$
    Hint: work recursively. Let $s_n$ be the number of such subsets. Either $1$ is in the subset or not, so $s_n=s_{n-3}+s_{n-1}$.
    $endgroup$
    – lulu
    Nov 1 '18 at 18:17
















2












$begingroup$



Let $x_n={1,2,3,...,n}$ and let a subset $A$ of $X_n$ be chosen so that every pair of elements of $A$ differ by at least $3$. When $n=10$, let probability that $1in A=p$ and probability that $2in A=q$.
Find $p$ and $q$.




I am not being able to find either the sample space or decide how to find the number of events in $p$ and $q$.



How should I do it? Thanks in advance!










share|cite|improve this question











$endgroup$












  • $begingroup$
    Hint: work recursively. Let $s_n$ be the number of such subsets. Either $1$ is in the subset or not, so $s_n=s_{n-3}+s_{n-1}$.
    $endgroup$
    – lulu
    Nov 1 '18 at 18:17














2












2








2


0



$begingroup$



Let $x_n={1,2,3,...,n}$ and let a subset $A$ of $X_n$ be chosen so that every pair of elements of $A$ differ by at least $3$. When $n=10$, let probability that $1in A=p$ and probability that $2in A=q$.
Find $p$ and $q$.




I am not being able to find either the sample space or decide how to find the number of events in $p$ and $q$.



How should I do it? Thanks in advance!










share|cite|improve this question











$endgroup$





Let $x_n={1,2,3,...,n}$ and let a subset $A$ of $X_n$ be chosen so that every pair of elements of $A$ differ by at least $3$. When $n=10$, let probability that $1in A=p$ and probability that $2in A=q$.
Find $p$ and $q$.




I am not being able to find either the sample space or decide how to find the number of events in $p$ and $q$.



How should I do it? Thanks in advance!







probability discrete-mathematics






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 6 '18 at 18:44









greedoid

40.7k1149100




40.7k1149100










asked Nov 1 '18 at 18:11









tatantatan

5,71562758




5,71562758












  • $begingroup$
    Hint: work recursively. Let $s_n$ be the number of such subsets. Either $1$ is in the subset or not, so $s_n=s_{n-3}+s_{n-1}$.
    $endgroup$
    – lulu
    Nov 1 '18 at 18:17


















  • $begingroup$
    Hint: work recursively. Let $s_n$ be the number of such subsets. Either $1$ is in the subset or not, so $s_n=s_{n-3}+s_{n-1}$.
    $endgroup$
    – lulu
    Nov 1 '18 at 18:17
















$begingroup$
Hint: work recursively. Let $s_n$ be the number of such subsets. Either $1$ is in the subset or not, so $s_n=s_{n-3}+s_{n-1}$.
$endgroup$
– lulu
Nov 1 '18 at 18:17




$begingroup$
Hint: work recursively. Let $s_n$ be the number of such subsets. Either $1$ is in the subset or not, so $s_n=s_{n-3}+s_{n-1}$.
$endgroup$
– lulu
Nov 1 '18 at 18:17










1 Answer
1






active

oldest

votes


















0












$begingroup$

Lulu's hint is good and his formula is correct, but argument is not. Say subset is good if every two differ for at least $3$. So, if $s_n$ is a number of good subsets in ${1,2,...,n}$ then we have $$s_n = s_{n-3}+s_{n-1}$$



(that is, if $n$ is in a good subset then we must take the rest of elements in ${1,2,...,n-3}$ else we take elements from a set ${1,2,...,n-1}$).



Now let $a_n$ be a number of good subsets with $1$ in it. Then $a_n=s_{n-3}$



Since first $11$ terms is (starting with $s_0$) $$1,2,3,4,6,9,10,15,19,25,34$$ we have



$$p = {a_{10}over s_{10}}= {s_{7}over s_{10}} = {15over 34}$$



You can procede similary for $q$ (note that $b_n=a_{n-4}$)






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Is this not good enough answer?
    $endgroup$
    – greedoid
    Dec 6 '18 at 18:46











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2980782%2fprobability-that-1-and-2-in-a-where-a-subset-x-n%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









0












$begingroup$

Lulu's hint is good and his formula is correct, but argument is not. Say subset is good if every two differ for at least $3$. So, if $s_n$ is a number of good subsets in ${1,2,...,n}$ then we have $$s_n = s_{n-3}+s_{n-1}$$



(that is, if $n$ is in a good subset then we must take the rest of elements in ${1,2,...,n-3}$ else we take elements from a set ${1,2,...,n-1}$).



Now let $a_n$ be a number of good subsets with $1$ in it. Then $a_n=s_{n-3}$



Since first $11$ terms is (starting with $s_0$) $$1,2,3,4,6,9,10,15,19,25,34$$ we have



$$p = {a_{10}over s_{10}}= {s_{7}over s_{10}} = {15over 34}$$



You can procede similary for $q$ (note that $b_n=a_{n-4}$)






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Is this not good enough answer?
    $endgroup$
    – greedoid
    Dec 6 '18 at 18:46
















0












$begingroup$

Lulu's hint is good and his formula is correct, but argument is not. Say subset is good if every two differ for at least $3$. So, if $s_n$ is a number of good subsets in ${1,2,...,n}$ then we have $$s_n = s_{n-3}+s_{n-1}$$



(that is, if $n$ is in a good subset then we must take the rest of elements in ${1,2,...,n-3}$ else we take elements from a set ${1,2,...,n-1}$).



Now let $a_n$ be a number of good subsets with $1$ in it. Then $a_n=s_{n-3}$



Since first $11$ terms is (starting with $s_0$) $$1,2,3,4,6,9,10,15,19,25,34$$ we have



$$p = {a_{10}over s_{10}}= {s_{7}over s_{10}} = {15over 34}$$



You can procede similary for $q$ (note that $b_n=a_{n-4}$)






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Is this not good enough answer?
    $endgroup$
    – greedoid
    Dec 6 '18 at 18:46














0












0








0





$begingroup$

Lulu's hint is good and his formula is correct, but argument is not. Say subset is good if every two differ for at least $3$. So, if $s_n$ is a number of good subsets in ${1,2,...,n}$ then we have $$s_n = s_{n-3}+s_{n-1}$$



(that is, if $n$ is in a good subset then we must take the rest of elements in ${1,2,...,n-3}$ else we take elements from a set ${1,2,...,n-1}$).



Now let $a_n$ be a number of good subsets with $1$ in it. Then $a_n=s_{n-3}$



Since first $11$ terms is (starting with $s_0$) $$1,2,3,4,6,9,10,15,19,25,34$$ we have



$$p = {a_{10}over s_{10}}= {s_{7}over s_{10}} = {15over 34}$$



You can procede similary for $q$ (note that $b_n=a_{n-4}$)






share|cite|improve this answer











$endgroup$



Lulu's hint is good and his formula is correct, but argument is not. Say subset is good if every two differ for at least $3$. So, if $s_n$ is a number of good subsets in ${1,2,...,n}$ then we have $$s_n = s_{n-3}+s_{n-1}$$



(that is, if $n$ is in a good subset then we must take the rest of elements in ${1,2,...,n-3}$ else we take elements from a set ${1,2,...,n-1}$).



Now let $a_n$ be a number of good subsets with $1$ in it. Then $a_n=s_{n-3}$



Since first $11$ terms is (starting with $s_0$) $$1,2,3,4,6,9,10,15,19,25,34$$ we have



$$p = {a_{10}over s_{10}}= {s_{7}over s_{10}} = {15over 34}$$



You can procede similary for $q$ (note that $b_n=a_{n-4}$)







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Nov 2 '18 at 4:06









tatan

5,71562758




5,71562758










answered Nov 1 '18 at 20:05









greedoidgreedoid

40.7k1149100




40.7k1149100












  • $begingroup$
    Is this not good enough answer?
    $endgroup$
    – greedoid
    Dec 6 '18 at 18:46


















  • $begingroup$
    Is this not good enough answer?
    $endgroup$
    – greedoid
    Dec 6 '18 at 18:46
















$begingroup$
Is this not good enough answer?
$endgroup$
– greedoid
Dec 6 '18 at 18:46




$begingroup$
Is this not good enough answer?
$endgroup$
– greedoid
Dec 6 '18 at 18:46


















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2980782%2fprobability-that-1-and-2-in-a-where-a-subset-x-n%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Le Mesnil-Réaume

Ida-Boy-Ed-Garten

web3.py web3.isConnected() returns false always