Maximal evenness: Difference between revisions

Inthar (talk | contribs)
Inthar (talk | contribs)
Line 20: Line 20:
Case 1: ME(n, m) where n < m/2. This is a maximally even subset of Z/mS with step sizes L > s > 1, which determines the locations of step sizes of 2 in the complement. The rest of the complement's step sizes are 1. The sizes of the chunks of 1 are L - 2 and s - 2 (0 is a valid chunk size), and the sizes form a maximally even MOS.
Case 1: ME(n, m) where n < m/2. This is a maximally even subset of Z/mS with step sizes L > s > 1, which determines the locations of step sizes of 2 in the complement. The rest of the complement's step sizes are 1. The sizes of the chunks of 1 are L - 2 and s - 2 (0 is a valid chunk size), and the sizes form a maximally even MOS.


Case 2: ME(n, m) where n > m/2. This has step sizes 1 and 2. The chunks of 1 (of nonzero size since n > m/2) occupy a maximally even subset of the slots of ME(n, m) (*). Now do the following steps:
Case 2: ME(n, m) where n > m/2. This has step sizes 1 and 2. The chunks of 1 (of nonzero size since n > m/2) occupy a maximally even subset of the slots of ME(n, m) (*). Now replace each 1 with "|" and each 2 with "$|".
# replace each 1 with "|.|" and each 2 with "|$|"
 
# collapse "||" to "|"
(e.g.) 2112111 -> $|||$||||
# remove all "."
(e.g.) 2112111 -> |$||.||.||$||.||.||.| -> |$|.|.|$|.|.|. -> |$|||$|||


Consider the resulting binary word of "|" and "$". The "|"s form chunks of sizes that differ by 1 and are distributed in a MOS way by (*). The desired complement, occupied by the "$"'s, thus forms a maximally even subset.
Consider the resulting binary word of "|" and "$". The "|"s form chunks of sizes that differ by 1 and are distributed in a MOS way by (*). The desired complement, occupied by the "$"'s, thus forms a maximally even subset.