Given 10 digits, how many ways can they be arranged so that two odds cannot be adjacent?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite
1












Given $10$ digits, where each digit can be an integer from $0$ to $9$, how can I determine the number of ways to arrange the numbers so that two odds are not adjacent?



Repetition of digits is not allowed.



So far, I have figured out the total number of possibilities: $$10 cdot 9 cdot 8 cdot 7 cdot 6 cdot 5 cdot 4 cdot 3 cdot 2 cdot 1 = 10!$$



Then I had planned to subtract the number of bad possibilities from the total number of possibilities.$$10! - X$$ Where $X$ is all the bad possibilities, which means $X$ is all the possibilities where two odds could be next to each other in the $10$ digits.



I know that for each number, $5$ odds can be selected, how can I use this information to figure out the answer to the question?










share|cite|improve this question





















  • If you only care about odd or even for a second, how many ways can you distribute the five odds and the five evens so that no odds are adjacent?
    – Arthur
    1 hour ago











  • Hint: put the odds in a row (how many possibilities?) and then separate consecutives by placing an even (how many possibilities?). After that only one even number is left and must be placed. Watch out for multiple counting.
    – drhab
    1 hour ago















up vote
1
down vote

favorite
1












Given $10$ digits, where each digit can be an integer from $0$ to $9$, how can I determine the number of ways to arrange the numbers so that two odds are not adjacent?



Repetition of digits is not allowed.



So far, I have figured out the total number of possibilities: $$10 cdot 9 cdot 8 cdot 7 cdot 6 cdot 5 cdot 4 cdot 3 cdot 2 cdot 1 = 10!$$



Then I had planned to subtract the number of bad possibilities from the total number of possibilities.$$10! - X$$ Where $X$ is all the bad possibilities, which means $X$ is all the possibilities where two odds could be next to each other in the $10$ digits.



I know that for each number, $5$ odds can be selected, how can I use this information to figure out the answer to the question?










share|cite|improve this question





















  • If you only care about odd or even for a second, how many ways can you distribute the five odds and the five evens so that no odds are adjacent?
    – Arthur
    1 hour ago











  • Hint: put the odds in a row (how many possibilities?) and then separate consecutives by placing an even (how many possibilities?). After that only one even number is left and must be placed. Watch out for multiple counting.
    – drhab
    1 hour ago













up vote
1
down vote

favorite
1









up vote
1
down vote

favorite
1






1





Given $10$ digits, where each digit can be an integer from $0$ to $9$, how can I determine the number of ways to arrange the numbers so that two odds are not adjacent?



Repetition of digits is not allowed.



So far, I have figured out the total number of possibilities: $$10 cdot 9 cdot 8 cdot 7 cdot 6 cdot 5 cdot 4 cdot 3 cdot 2 cdot 1 = 10!$$



Then I had planned to subtract the number of bad possibilities from the total number of possibilities.$$10! - X$$ Where $X$ is all the bad possibilities, which means $X$ is all the possibilities where two odds could be next to each other in the $10$ digits.



I know that for each number, $5$ odds can be selected, how can I use this information to figure out the answer to the question?










share|cite|improve this question













Given $10$ digits, where each digit can be an integer from $0$ to $9$, how can I determine the number of ways to arrange the numbers so that two odds are not adjacent?



Repetition of digits is not allowed.



So far, I have figured out the total number of possibilities: $$10 cdot 9 cdot 8 cdot 7 cdot 6 cdot 5 cdot 4 cdot 3 cdot 2 cdot 1 = 10!$$



Then I had planned to subtract the number of bad possibilities from the total number of possibilities.$$10! - X$$ Where $X$ is all the bad possibilities, which means $X$ is all the possibilities where two odds could be next to each other in the $10$ digits.



I know that for each number, $5$ odds can be selected, how can I use this information to figure out the answer to the question?







combinatorics






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked 1 hour ago









Matt Hough

945




945











  • If you only care about odd or even for a second, how many ways can you distribute the five odds and the five evens so that no odds are adjacent?
    – Arthur
    1 hour ago











  • Hint: put the odds in a row (how many possibilities?) and then separate consecutives by placing an even (how many possibilities?). After that only one even number is left and must be placed. Watch out for multiple counting.
    – drhab
    1 hour ago

















  • If you only care about odd or even for a second, how many ways can you distribute the five odds and the five evens so that no odds are adjacent?
    – Arthur
    1 hour ago











  • Hint: put the odds in a row (how many possibilities?) and then separate consecutives by placing an even (how many possibilities?). After that only one even number is left and must be placed. Watch out for multiple counting.
    – drhab
    1 hour ago
















If you only care about odd or even for a second, how many ways can you distribute the five odds and the five evens so that no odds are adjacent?
– Arthur
1 hour ago





If you only care about odd or even for a second, how many ways can you distribute the five odds and the five evens so that no odds are adjacent?
– Arthur
1 hour ago













Hint: put the odds in a row (how many possibilities?) and then separate consecutives by placing an even (how many possibilities?). After that only one even number is left and must be placed. Watch out for multiple counting.
– drhab
1 hour ago





Hint: put the odds in a row (how many possibilities?) and then separate consecutives by placing an even (how many possibilities?). After that only one even number is left and must be placed. Watch out for multiple counting.
– drhab
1 hour ago











2 Answers
2






active

oldest

votes

















up vote
2
down vote



accepted










There are six different admissible assignments of odd (O) and even (e) numbers:



OeOeOeOeOe
OeOeOeOeeO
OeOeOeeOeO
OeOeeOeOeO
OeeOeOeOeO
eOeOeOeOeO


For these arrangements of parity there are $5!$ ways of fixing the odd numbers, and the same number of ways to fix the even numbers. Thus there are $6×5!×5!=86400$ ways.






share|cite|improve this answer




















  • the final one might have an issue with starting $0$ digit. Not sure if it's allowed. One would need to substract some options.
    – Henno Brandsma
    44 mins ago










  • @HennoBrandsma it was not specified in the question that the result had to be a 10-digit number.
    – Parcly Taxel
    42 mins ago










  • It's just 10 digits, not a 10 digit number. It's fine.
    – Matt Hough
    41 mins ago


















up vote
1
down vote













Let $O$ and $E$ be the odd and even numbers respectively.



The odd digits are $1,3,5,7,9$.



The even digits are $0,2,4,6,8$.



$_E_E_E_E_E_$



If you are filling the odd numbers in any $5$ blank spaces yiels a required number.



There are $6$ blank spaces. So the number of ways to select $5$ spaces among $6$ spaces $=6C5 =6$.



Number of possible shuffling on $5$ odd number is $=5!=120$.



Again,Number of possible shuffling on $5$ even number is $=5!=120$.



Thus total number of possibility is $=6×120×120=86400$.






share|cite|improve this answer




















  • Is there a reason the image has 11 spots? (_E_E_E_E_E_)
    – Matt Hough
    35 mins ago











  • I think, there is no reason behind it. I just think logically and post the answer.
    – Avinash N
    31 mins ago










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',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
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%2f2962937%2fgiven-10-digits-how-many-ways-can-they-be-arranged-so-that-two-odds-cannot-be-a%23new-answer', 'question_page');

);

Post as a guest






























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
2
down vote



accepted










There are six different admissible assignments of odd (O) and even (e) numbers:



OeOeOeOeOe
OeOeOeOeeO
OeOeOeeOeO
OeOeeOeOeO
OeeOeOeOeO
eOeOeOeOeO


For these arrangements of parity there are $5!$ ways of fixing the odd numbers, and the same number of ways to fix the even numbers. Thus there are $6×5!×5!=86400$ ways.






share|cite|improve this answer




















  • the final one might have an issue with starting $0$ digit. Not sure if it's allowed. One would need to substract some options.
    – Henno Brandsma
    44 mins ago










  • @HennoBrandsma it was not specified in the question that the result had to be a 10-digit number.
    – Parcly Taxel
    42 mins ago










  • It's just 10 digits, not a 10 digit number. It's fine.
    – Matt Hough
    41 mins ago















up vote
2
down vote



accepted










There are six different admissible assignments of odd (O) and even (e) numbers:



OeOeOeOeOe
OeOeOeOeeO
OeOeOeeOeO
OeOeeOeOeO
OeeOeOeOeO
eOeOeOeOeO


For these arrangements of parity there are $5!$ ways of fixing the odd numbers, and the same number of ways to fix the even numbers. Thus there are $6×5!×5!=86400$ ways.






share|cite|improve this answer




















  • the final one might have an issue with starting $0$ digit. Not sure if it's allowed. One would need to substract some options.
    – Henno Brandsma
    44 mins ago










  • @HennoBrandsma it was not specified in the question that the result had to be a 10-digit number.
    – Parcly Taxel
    42 mins ago










  • It's just 10 digits, not a 10 digit number. It's fine.
    – Matt Hough
    41 mins ago













up vote
2
down vote



accepted







up vote
2
down vote



accepted






There are six different admissible assignments of odd (O) and even (e) numbers:



OeOeOeOeOe
OeOeOeOeeO
OeOeOeeOeO
OeOeeOeOeO
OeeOeOeOeO
eOeOeOeOeO


For these arrangements of parity there are $5!$ ways of fixing the odd numbers, and the same number of ways to fix the even numbers. Thus there are $6×5!×5!=86400$ ways.






share|cite|improve this answer












There are six different admissible assignments of odd (O) and even (e) numbers:



OeOeOeOeOe
OeOeOeOeeO
OeOeOeeOeO
OeOeeOeOeO
OeeOeOeOeO
eOeOeOeOeO


For these arrangements of parity there are $5!$ ways of fixing the odd numbers, and the same number of ways to fix the even numbers. Thus there are $6×5!×5!=86400$ ways.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered 53 mins ago









Parcly Taxel

36.6k137095




36.6k137095











  • the final one might have an issue with starting $0$ digit. Not sure if it's allowed. One would need to substract some options.
    – Henno Brandsma
    44 mins ago










  • @HennoBrandsma it was not specified in the question that the result had to be a 10-digit number.
    – Parcly Taxel
    42 mins ago










  • It's just 10 digits, not a 10 digit number. It's fine.
    – Matt Hough
    41 mins ago

















  • the final one might have an issue with starting $0$ digit. Not sure if it's allowed. One would need to substract some options.
    – Henno Brandsma
    44 mins ago










  • @HennoBrandsma it was not specified in the question that the result had to be a 10-digit number.
    – Parcly Taxel
    42 mins ago










  • It's just 10 digits, not a 10 digit number. It's fine.
    – Matt Hough
    41 mins ago
















the final one might have an issue with starting $0$ digit. Not sure if it's allowed. One would need to substract some options.
– Henno Brandsma
44 mins ago




the final one might have an issue with starting $0$ digit. Not sure if it's allowed. One would need to substract some options.
– Henno Brandsma
44 mins ago












@HennoBrandsma it was not specified in the question that the result had to be a 10-digit number.
– Parcly Taxel
42 mins ago




@HennoBrandsma it was not specified in the question that the result had to be a 10-digit number.
– Parcly Taxel
42 mins ago












It's just 10 digits, not a 10 digit number. It's fine.
– Matt Hough
41 mins ago





It's just 10 digits, not a 10 digit number. It's fine.
– Matt Hough
41 mins ago











up vote
1
down vote













Let $O$ and $E$ be the odd and even numbers respectively.



The odd digits are $1,3,5,7,9$.



The even digits are $0,2,4,6,8$.



$_E_E_E_E_E_$



If you are filling the odd numbers in any $5$ blank spaces yiels a required number.



There are $6$ blank spaces. So the number of ways to select $5$ spaces among $6$ spaces $=6C5 =6$.



Number of possible shuffling on $5$ odd number is $=5!=120$.



Again,Number of possible shuffling on $5$ even number is $=5!=120$.



Thus total number of possibility is $=6×120×120=86400$.






share|cite|improve this answer




















  • Is there a reason the image has 11 spots? (_E_E_E_E_E_)
    – Matt Hough
    35 mins ago











  • I think, there is no reason behind it. I just think logically and post the answer.
    – Avinash N
    31 mins ago














up vote
1
down vote













Let $O$ and $E$ be the odd and even numbers respectively.



The odd digits are $1,3,5,7,9$.



The even digits are $0,2,4,6,8$.



$_E_E_E_E_E_$



If you are filling the odd numbers in any $5$ blank spaces yiels a required number.



There are $6$ blank spaces. So the number of ways to select $5$ spaces among $6$ spaces $=6C5 =6$.



Number of possible shuffling on $5$ odd number is $=5!=120$.



Again,Number of possible shuffling on $5$ even number is $=5!=120$.



Thus total number of possibility is $=6×120×120=86400$.






share|cite|improve this answer




















  • Is there a reason the image has 11 spots? (_E_E_E_E_E_)
    – Matt Hough
    35 mins ago











  • I think, there is no reason behind it. I just think logically and post the answer.
    – Avinash N
    31 mins ago












up vote
1
down vote










up vote
1
down vote









Let $O$ and $E$ be the odd and even numbers respectively.



The odd digits are $1,3,5,7,9$.



The even digits are $0,2,4,6,8$.



$_E_E_E_E_E_$



If you are filling the odd numbers in any $5$ blank spaces yiels a required number.



There are $6$ blank spaces. So the number of ways to select $5$ spaces among $6$ spaces $=6C5 =6$.



Number of possible shuffling on $5$ odd number is $=5!=120$.



Again,Number of possible shuffling on $5$ even number is $=5!=120$.



Thus total number of possibility is $=6×120×120=86400$.






share|cite|improve this answer












Let $O$ and $E$ be the odd and even numbers respectively.



The odd digits are $1,3,5,7,9$.



The even digits are $0,2,4,6,8$.



$_E_E_E_E_E_$



If you are filling the odd numbers in any $5$ blank spaces yiels a required number.



There are $6$ blank spaces. So the number of ways to select $5$ spaces among $6$ spaces $=6C5 =6$.



Number of possible shuffling on $5$ odd number is $=5!=120$.



Again,Number of possible shuffling on $5$ even number is $=5!=120$.



Thus total number of possibility is $=6×120×120=86400$.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered 43 mins ago









Avinash N

487411




487411











  • Is there a reason the image has 11 spots? (_E_E_E_E_E_)
    – Matt Hough
    35 mins ago











  • I think, there is no reason behind it. I just think logically and post the answer.
    – Avinash N
    31 mins ago
















  • Is there a reason the image has 11 spots? (_E_E_E_E_E_)
    – Matt Hough
    35 mins ago











  • I think, there is no reason behind it. I just think logically and post the answer.
    – Avinash N
    31 mins ago















Is there a reason the image has 11 spots? (_E_E_E_E_E_)
– Matt Hough
35 mins ago





Is there a reason the image has 11 spots? (_E_E_E_E_E_)
– Matt Hough
35 mins ago













I think, there is no reason behind it. I just think logically and post the answer.
– Avinash N
31 mins ago




I think, there is no reason behind it. I just think logically and post the answer.
– Avinash N
31 mins ago

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2962937%2fgiven-10-digits-how-many-ways-can-they-be-arranged-so-that-two-odds-cannot-be-a%23new-answer', 'question_page');

);

Post as a guest













































































Comments

Popular posts from this blog

What does second last employer means? [closed]

List of Gilmore Girls characters

One-line joke