Given an integer a and a positive integer n with gcd(a,n) = 1, the multiplicative order of a modulo n is the smallest positive integer k with $a^k \equiv 1 (mod\ n)$
There exist a lemma to this saying that
$ [a]^r$ for $0 <= r <= k-1$ has order k if and only if gcd$(r,k)=1$
I want to prove this by contradiction but i might not be doing the setup correctly.
$ [a]^r$ for $0 <= r <= k-1$ has a order less than k if and only if gcd$(r,k) !=1$