Given $n$ integers, is it always possible to choose $m$ from them so that their sum is a multiple of $m$?












4














The original question: given $6666$ integers, (positive, negative or $0$) is it always possible to choose $2018$ from them so that the chosen numbers add to a multiple of $2018$? (positive multiple, negative multiple or $0$) Prove or disprove.



More generally, for what $n$ and $m$, given $n$ integers, it is always possible to choose $m$ from them so that their sum is a multiple of $m$?



I tried for small $m$s to find a minimum $n$ that fits, and my research shows (in $n$ for $m$ form): $1$ for $1$, $3$ for $2$, $5$ for $3$, $7$ for $4$, $9$ for $5$, $11$ for $6$, $13$ for $7$, $15$ for $8$. My program takes already quite long for the last case ($15$ for $8$), so I terminated it.



My guess from these cases is that $2m - 1$ is the least fit for $m$, and therefore the original question is true since $6666 > 4035 = 2 cdot 2018 - 1$, but I apparently have no idea about the proof.



Disclaimer: this is not homework. I fail to do it cuz I'm bad.










share|cite|improve this question




















  • 5




    A partial answer to your question is the theorem of Erdos-Ginzburg-Ziv: Given a list of $ 2n-1 $ integers, there exist $ n $ of them whose sum is divisible by $ n$. In particular, since $ 6666 > 2 times 2018 - 1$, such a choice is possible as you have already conjectured.
    – hellHound
    Nov 28 '18 at 11:12












  • @hellHound I never heard that theorem. Thank you so much!
    – L. F.
    Nov 28 '18 at 11:16






  • 1




    A proof of the Erdös-Ginzburg-Ziv theorem can be found in the second answer here: mathoverflow.net/questions/16721/egz-theorem-erdős-ginzburg-ziv .
    – Christian Blatter
    Nov 28 '18 at 14:19
















4














The original question: given $6666$ integers, (positive, negative or $0$) is it always possible to choose $2018$ from them so that the chosen numbers add to a multiple of $2018$? (positive multiple, negative multiple or $0$) Prove or disprove.



More generally, for what $n$ and $m$, given $n$ integers, it is always possible to choose $m$ from them so that their sum is a multiple of $m$?



I tried for small $m$s to find a minimum $n$ that fits, and my research shows (in $n$ for $m$ form): $1$ for $1$, $3$ for $2$, $5$ for $3$, $7$ for $4$, $9$ for $5$, $11$ for $6$, $13$ for $7$, $15$ for $8$. My program takes already quite long for the last case ($15$ for $8$), so I terminated it.



My guess from these cases is that $2m - 1$ is the least fit for $m$, and therefore the original question is true since $6666 > 4035 = 2 cdot 2018 - 1$, but I apparently have no idea about the proof.



Disclaimer: this is not homework. I fail to do it cuz I'm bad.










share|cite|improve this question




















  • 5




    A partial answer to your question is the theorem of Erdos-Ginzburg-Ziv: Given a list of $ 2n-1 $ integers, there exist $ n $ of them whose sum is divisible by $ n$. In particular, since $ 6666 > 2 times 2018 - 1$, such a choice is possible as you have already conjectured.
    – hellHound
    Nov 28 '18 at 11:12












  • @hellHound I never heard that theorem. Thank you so much!
    – L. F.
    Nov 28 '18 at 11:16






  • 1




    A proof of the Erdös-Ginzburg-Ziv theorem can be found in the second answer here: mathoverflow.net/questions/16721/egz-theorem-erdős-ginzburg-ziv .
    – Christian Blatter
    Nov 28 '18 at 14:19














4












4








4


2





The original question: given $6666$ integers, (positive, negative or $0$) is it always possible to choose $2018$ from them so that the chosen numbers add to a multiple of $2018$? (positive multiple, negative multiple or $0$) Prove or disprove.



More generally, for what $n$ and $m$, given $n$ integers, it is always possible to choose $m$ from them so that their sum is a multiple of $m$?



I tried for small $m$s to find a minimum $n$ that fits, and my research shows (in $n$ for $m$ form): $1$ for $1$, $3$ for $2$, $5$ for $3$, $7$ for $4$, $9$ for $5$, $11$ for $6$, $13$ for $7$, $15$ for $8$. My program takes already quite long for the last case ($15$ for $8$), so I terminated it.



My guess from these cases is that $2m - 1$ is the least fit for $m$, and therefore the original question is true since $6666 > 4035 = 2 cdot 2018 - 1$, but I apparently have no idea about the proof.



Disclaimer: this is not homework. I fail to do it cuz I'm bad.










share|cite|improve this question















The original question: given $6666$ integers, (positive, negative or $0$) is it always possible to choose $2018$ from them so that the chosen numbers add to a multiple of $2018$? (positive multiple, negative multiple or $0$) Prove or disprove.



More generally, for what $n$ and $m$, given $n$ integers, it is always possible to choose $m$ from them so that their sum is a multiple of $m$?



I tried for small $m$s to find a minimum $n$ that fits, and my research shows (in $n$ for $m$ form): $1$ for $1$, $3$ for $2$, $5$ for $3$, $7$ for $4$, $9$ for $5$, $11$ for $6$, $13$ for $7$, $15$ for $8$. My program takes already quite long for the last case ($15$ for $8$), so I terminated it.



My guess from these cases is that $2m - 1$ is the least fit for $m$, and therefore the original question is true since $6666 > 4035 = 2 cdot 2018 - 1$, but I apparently have no idea about the proof.



Disclaimer: this is not homework. I fail to do it cuz I'm bad.







algebra-precalculus






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 28 '18 at 11:05

























asked Nov 28 '18 at 10:50









L. F.

1264




1264








  • 5




    A partial answer to your question is the theorem of Erdos-Ginzburg-Ziv: Given a list of $ 2n-1 $ integers, there exist $ n $ of them whose sum is divisible by $ n$. In particular, since $ 6666 > 2 times 2018 - 1$, such a choice is possible as you have already conjectured.
    – hellHound
    Nov 28 '18 at 11:12












  • @hellHound I never heard that theorem. Thank you so much!
    – L. F.
    Nov 28 '18 at 11:16






  • 1




    A proof of the Erdös-Ginzburg-Ziv theorem can be found in the second answer here: mathoverflow.net/questions/16721/egz-theorem-erdős-ginzburg-ziv .
    – Christian Blatter
    Nov 28 '18 at 14:19














  • 5




    A partial answer to your question is the theorem of Erdos-Ginzburg-Ziv: Given a list of $ 2n-1 $ integers, there exist $ n $ of them whose sum is divisible by $ n$. In particular, since $ 6666 > 2 times 2018 - 1$, such a choice is possible as you have already conjectured.
    – hellHound
    Nov 28 '18 at 11:12












  • @hellHound I never heard that theorem. Thank you so much!
    – L. F.
    Nov 28 '18 at 11:16






  • 1




    A proof of the Erdös-Ginzburg-Ziv theorem can be found in the second answer here: mathoverflow.net/questions/16721/egz-theorem-erdős-ginzburg-ziv .
    – Christian Blatter
    Nov 28 '18 at 14:19








5




5




A partial answer to your question is the theorem of Erdos-Ginzburg-Ziv: Given a list of $ 2n-1 $ integers, there exist $ n $ of them whose sum is divisible by $ n$. In particular, since $ 6666 > 2 times 2018 - 1$, such a choice is possible as you have already conjectured.
– hellHound
Nov 28 '18 at 11:12






A partial answer to your question is the theorem of Erdos-Ginzburg-Ziv: Given a list of $ 2n-1 $ integers, there exist $ n $ of them whose sum is divisible by $ n$. In particular, since $ 6666 > 2 times 2018 - 1$, such a choice is possible as you have already conjectured.
– hellHound
Nov 28 '18 at 11:12














@hellHound I never heard that theorem. Thank you so much!
– L. F.
Nov 28 '18 at 11:16




@hellHound I never heard that theorem. Thank you so much!
– L. F.
Nov 28 '18 at 11:16




1




1




A proof of the Erdös-Ginzburg-Ziv theorem can be found in the second answer here: mathoverflow.net/questions/16721/egz-theorem-erdős-ginzburg-ziv .
– Christian Blatter
Nov 28 '18 at 14:19




A proof of the Erdös-Ginzburg-Ziv theorem can be found in the second answer here: mathoverflow.net/questions/16721/egz-theorem-erdős-ginzburg-ziv .
– Christian Blatter
Nov 28 '18 at 14:19










0






active

oldest

votes











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%2f3017005%2fgiven-n-integers-is-it-always-possible-to-choose-m-from-them-so-that-their%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















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%2f3017005%2fgiven-n-integers-is-it-always-possible-to-choose-m-from-them-so-that-their%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

Bundesstraße 106

Verónica Boquete

Ida-Boy-Ed-Garten