Let G be an arbitrary Group, x∈G and let m,n∈Z. If xn=xm=1 then xd=1 where d=gcd(m,n). In particular if xm=1 for some m∈Z (ie: |x|=m) then |x| divides m.
Proof
By Lecture 3 - Divisibility, Euclid's Algorithms#Euclid's Division Algorithm, then ∃r,s where d=mr+ns where d=gcd(m,n). Thus:
This proves the first assertion.
If xm=1 then let n=|x|. If m=0 then certainly n|m so assume m≠0. Since some nonzero power of x is the identity, n<∞. Let d=gcd(m,n) so by the preceding result then xd=1. Since 0<d≤n and n is the smallest positive power of x which gives the identity, we must have d=n, that is, n|m as desired.
☐