Coloring Red and Blue Problem












-1














We color the integers from 1 to 999 with red and blue, so that each integer is assigned one of the two colors. How many different colorings can we construct with the property that there are more red integers within the numbers {1,...,500} than within the numbers {501,...999}










share|cite|improve this question


















  • 2




    Please edit your question to show what you have attempted. For instance, have you solved the problem of determining how many ways we can color the integers from $1$ to $9$ in such a way that there are more red integers within the set ${1, 2, 3, 4, 5}$ than there are in the set ${6, 7, 8, 9}$?
    – N. F. Taussig
    Dec 2 at 18:06










  • Hint: Can you see that the number of colorings with more reds among ${1,dots,500}$ than reds among ${501,dots,599}$ is the same as the number of colorings with more reds among ${1,dots,500}$ than blues among ${501,dots,599}$?
    – bof
    Dec 3 at 11:16










  • Hint: Can you see that the condition "more reds among ${1,dots,500}$ than blues among ${501,dots,599}$" is equivalent to "more reds than blues overall"?
    – bof
    Dec 3 at 11:18












  • How many ways can you color the integers from $1$ to $999$ with red and blue, so that there are more reds than blues?
    – bof
    Dec 3 at 11:19
















-1














We color the integers from 1 to 999 with red and blue, so that each integer is assigned one of the two colors. How many different colorings can we construct with the property that there are more red integers within the numbers {1,...,500} than within the numbers {501,...999}










share|cite|improve this question


















  • 2




    Please edit your question to show what you have attempted. For instance, have you solved the problem of determining how many ways we can color the integers from $1$ to $9$ in such a way that there are more red integers within the set ${1, 2, 3, 4, 5}$ than there are in the set ${6, 7, 8, 9}$?
    – N. F. Taussig
    Dec 2 at 18:06










  • Hint: Can you see that the number of colorings with more reds among ${1,dots,500}$ than reds among ${501,dots,599}$ is the same as the number of colorings with more reds among ${1,dots,500}$ than blues among ${501,dots,599}$?
    – bof
    Dec 3 at 11:16










  • Hint: Can you see that the condition "more reds among ${1,dots,500}$ than blues among ${501,dots,599}$" is equivalent to "more reds than blues overall"?
    – bof
    Dec 3 at 11:18












  • How many ways can you color the integers from $1$ to $999$ with red and blue, so that there are more reds than blues?
    – bof
    Dec 3 at 11:19














-1












-1








-1







We color the integers from 1 to 999 with red and blue, so that each integer is assigned one of the two colors. How many different colorings can we construct with the property that there are more red integers within the numbers {1,...,500} than within the numbers {501,...999}










share|cite|improve this question













We color the integers from 1 to 999 with red and blue, so that each integer is assigned one of the two colors. How many different colorings can we construct with the property that there are more red integers within the numbers {1,...,500} than within the numbers {501,...999}







combinatorics coloring






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Dec 2 at 17:18









Bob Johnson

1




1








  • 2




    Please edit your question to show what you have attempted. For instance, have you solved the problem of determining how many ways we can color the integers from $1$ to $9$ in such a way that there are more red integers within the set ${1, 2, 3, 4, 5}$ than there are in the set ${6, 7, 8, 9}$?
    – N. F. Taussig
    Dec 2 at 18:06










  • Hint: Can you see that the number of colorings with more reds among ${1,dots,500}$ than reds among ${501,dots,599}$ is the same as the number of colorings with more reds among ${1,dots,500}$ than blues among ${501,dots,599}$?
    – bof
    Dec 3 at 11:16










  • Hint: Can you see that the condition "more reds among ${1,dots,500}$ than blues among ${501,dots,599}$" is equivalent to "more reds than blues overall"?
    – bof
    Dec 3 at 11:18












  • How many ways can you color the integers from $1$ to $999$ with red and blue, so that there are more reds than blues?
    – bof
    Dec 3 at 11:19














  • 2




    Please edit your question to show what you have attempted. For instance, have you solved the problem of determining how many ways we can color the integers from $1$ to $9$ in such a way that there are more red integers within the set ${1, 2, 3, 4, 5}$ than there are in the set ${6, 7, 8, 9}$?
    – N. F. Taussig
    Dec 2 at 18:06










  • Hint: Can you see that the number of colorings with more reds among ${1,dots,500}$ than reds among ${501,dots,599}$ is the same as the number of colorings with more reds among ${1,dots,500}$ than blues among ${501,dots,599}$?
    – bof
    Dec 3 at 11:16










  • Hint: Can you see that the condition "more reds among ${1,dots,500}$ than blues among ${501,dots,599}$" is equivalent to "more reds than blues overall"?
    – bof
    Dec 3 at 11:18












  • How many ways can you color the integers from $1$ to $999$ with red and blue, so that there are more reds than blues?
    – bof
    Dec 3 at 11:19








2




2




Please edit your question to show what you have attempted. For instance, have you solved the problem of determining how many ways we can color the integers from $1$ to $9$ in such a way that there are more red integers within the set ${1, 2, 3, 4, 5}$ than there are in the set ${6, 7, 8, 9}$?
– N. F. Taussig
Dec 2 at 18:06




Please edit your question to show what you have attempted. For instance, have you solved the problem of determining how many ways we can color the integers from $1$ to $9$ in such a way that there are more red integers within the set ${1, 2, 3, 4, 5}$ than there are in the set ${6, 7, 8, 9}$?
– N. F. Taussig
Dec 2 at 18:06












Hint: Can you see that the number of colorings with more reds among ${1,dots,500}$ than reds among ${501,dots,599}$ is the same as the number of colorings with more reds among ${1,dots,500}$ than blues among ${501,dots,599}$?
– bof
Dec 3 at 11:16




Hint: Can you see that the number of colorings with more reds among ${1,dots,500}$ than reds among ${501,dots,599}$ is the same as the number of colorings with more reds among ${1,dots,500}$ than blues among ${501,dots,599}$?
– bof
Dec 3 at 11:16












Hint: Can you see that the condition "more reds among ${1,dots,500}$ than blues among ${501,dots,599}$" is equivalent to "more reds than blues overall"?
– bof
Dec 3 at 11:18






Hint: Can you see that the condition "more reds among ${1,dots,500}$ than blues among ${501,dots,599}$" is equivalent to "more reds than blues overall"?
– bof
Dec 3 at 11:18














How many ways can you color the integers from $1$ to $999$ with red and blue, so that there are more reds than blues?
– bof
Dec 3 at 11:19




How many ways can you color the integers from $1$ to $999$ with red and blue, so that there are more reds than blues?
– bof
Dec 3 at 11:19










1 Answer
1






active

oldest

votes


















-1














First you can chose how many red numbers there will be in ${1,..,500}$

Suppose you chose to color $k$ red numbers in that set. ($k$ can take any value from 0 to 500)

In the ${501,..,999}$ set, you can color from $0$ to $k-1$ numbers in red (k possibilities)



Thus if we iterate over every possible value for $k$ you have $sum_{k=0}^{500}k^2$ distinct possiblilites

We can generalize for a set of length $n$: {$1,..,n$} and {$n+1,.., 2n-1$}

There are a total of $sum_{k=0}^nk^2=frac{n(n+1)(2n+1)}{6}$ possiblilites






share|cite|improve this answer





















  • This answer doesn't take into account the process of actually choosing $k$ numbers from 1 to 500, and similar for the other set.
    – platty
    Dec 3 at 10:42











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%2f3022918%2fcoloring-red-and-blue-problem%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









-1














First you can chose how many red numbers there will be in ${1,..,500}$

Suppose you chose to color $k$ red numbers in that set. ($k$ can take any value from 0 to 500)

In the ${501,..,999}$ set, you can color from $0$ to $k-1$ numbers in red (k possibilities)



Thus if we iterate over every possible value for $k$ you have $sum_{k=0}^{500}k^2$ distinct possiblilites

We can generalize for a set of length $n$: {$1,..,n$} and {$n+1,.., 2n-1$}

There are a total of $sum_{k=0}^nk^2=frac{n(n+1)(2n+1)}{6}$ possiblilites






share|cite|improve this answer





















  • This answer doesn't take into account the process of actually choosing $k$ numbers from 1 to 500, and similar for the other set.
    – platty
    Dec 3 at 10:42
















-1














First you can chose how many red numbers there will be in ${1,..,500}$

Suppose you chose to color $k$ red numbers in that set. ($k$ can take any value from 0 to 500)

In the ${501,..,999}$ set, you can color from $0$ to $k-1$ numbers in red (k possibilities)



Thus if we iterate over every possible value for $k$ you have $sum_{k=0}^{500}k^2$ distinct possiblilites

We can generalize for a set of length $n$: {$1,..,n$} and {$n+1,.., 2n-1$}

There are a total of $sum_{k=0}^nk^2=frac{n(n+1)(2n+1)}{6}$ possiblilites






share|cite|improve this answer





















  • This answer doesn't take into account the process of actually choosing $k$ numbers from 1 to 500, and similar for the other set.
    – platty
    Dec 3 at 10:42














-1












-1








-1






First you can chose how many red numbers there will be in ${1,..,500}$

Suppose you chose to color $k$ red numbers in that set. ($k$ can take any value from 0 to 500)

In the ${501,..,999}$ set, you can color from $0$ to $k-1$ numbers in red (k possibilities)



Thus if we iterate over every possible value for $k$ you have $sum_{k=0}^{500}k^2$ distinct possiblilites

We can generalize for a set of length $n$: {$1,..,n$} and {$n+1,.., 2n-1$}

There are a total of $sum_{k=0}^nk^2=frac{n(n+1)(2n+1)}{6}$ possiblilites






share|cite|improve this answer












First you can chose how many red numbers there will be in ${1,..,500}$

Suppose you chose to color $k$ red numbers in that set. ($k$ can take any value from 0 to 500)

In the ${501,..,999}$ set, you can color from $0$ to $k-1$ numbers in red (k possibilities)



Thus if we iterate over every possible value for $k$ you have $sum_{k=0}^{500}k^2$ distinct possiblilites

We can generalize for a set of length $n$: {$1,..,n$} and {$n+1,.., 2n-1$}

There are a total of $sum_{k=0}^nk^2=frac{n(n+1)(2n+1)}{6}$ possiblilites







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Dec 3 at 10:27









TheD0ubleT

39218




39218












  • This answer doesn't take into account the process of actually choosing $k$ numbers from 1 to 500, and similar for the other set.
    – platty
    Dec 3 at 10:42


















  • This answer doesn't take into account the process of actually choosing $k$ numbers from 1 to 500, and similar for the other set.
    – platty
    Dec 3 at 10:42
















This answer doesn't take into account the process of actually choosing $k$ numbers from 1 to 500, and similar for the other set.
– platty
Dec 3 at 10:42




This answer doesn't take into account the process of actually choosing $k$ numbers from 1 to 500, and similar for the other set.
– platty
Dec 3 at 10:42


















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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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.


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%2f3022918%2fcoloring-red-and-blue-problem%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

Berounka

Sphinx de Gizeh

Different font size/position of beamer's navigation symbols template's content depending on regular/plain...