Testwiki:Reference desk/Archives/Mathematics/2018 April 13: Difference between revisions
Jump to navigation
Jump to search
imported>Scsbot edited by robot: archiving April 13 |
(No difference)
|
imported>Scsbot edited by robot: archiving April 13 |
(No difference)
|
Template:Error:not substituted
|- ! colspan="3" align="center" | Mathematics desk |- ! width="20%" align="left" | < April 12 ! width="25%" align="center"|<< Mar | April | May >> ! width="20%" align="right" |Current desk > |}
| Welcome to the Wikipedia Mathematics Reference Desk Archives |
|---|
| The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
Inspired by the above "addition game". Let M be a fixed integer. For which N, if any, is it guaranteed that a set of N integers (not necessarily distinct) all between 1 and M can be partitioned into two subsets with the same sum? What about the same sum modulo M? (Or, conversely, assume that you are given M and N, can you exhibit N integers such that no partition of the set in two subsets produces the same sum?)
Formally: given M, find (if possible) the smallest N such that
I would assume that there is a maximum N in both cases, but cannot prove it in either. The second case (modulo M) looks like it ought to be solved with a smart pigeonhole principle but I did not find it. TigraanClick here to contact me 14:54, 13 April 2018 (UTC)