Generator-offset property: Difference between revisions

Inthar (talk | contribs)
Inthar (talk | contribs)
Proof: consistency in mod n notation
Line 107: Line 107:
We must have gcd(''k'', ''n'') = 1. If not, since ''n'' is odd, gcd(''k'', ''n'') is an odd number at least 3, and by well-formedness with respect to the generator, the generators must form more than 2 parallel chains.
We must have gcd(''k'', ''n'') = 1. If not, since ''n'' is odd, gcd(''k'', ''n'') is an odd number at least 3, and by well-formedness with respect to the generator, the generators must form more than 2 parallel chains.


By modular arithmetic we have ''rk'' mod ''n'' = ''k''/2 iff ''r'' = ceil(''n''/2) mod ''n''. (Since gcd(2, ''n'') = 1, 2 is multiplicatively invertible mod ''n'', and we can multiply both sides by 2 to check this.) This proves that the offset, which must be reached after ceil(''n''/2) generator steps, is a ''k''/2-step, as desired. (If the offset wasn't reached in ceil(''n''/2) steps, the two generator chains either wouldn't be disjoint or wouldn't have the assumed lengths.)
By modular arithmetic we have ''rk'' ''k''/2 mod ''n'' iff ''r'' ceil(''n''/2) mod ''n''. (Since gcd(2, ''n'') = 1, 2 is multiplicatively invertible mod ''n'', and we can multiply both sides by 2 to check this.) This proves that the offset, which must be reached after ceil(''n''/2) k-steps, is a ''k''/2-step, as desired. (If the offset wasn't reached in ceil(''n''/2) steps, the two generator chains either wouldn't be disjoint or wouldn't have the assumed lengths.)


=== Proposition 3 (Properties of even GO scales) ===
=== Proposition 3 (Properties of even GO scales) ===