We prove that (i) implies (ii). Since is primitive modulo , write
Being primitive modulo is equivalent to . The binomial theorem then gives inductively
It follows that the order modulo is exactly
so is primitive modulo every . This is lifting a primitive root to odd prime powers. The implication (ii)(i) is immediate by taking .
By lifting a primitive root to odd prime powers, it is enough to test primitivity modulo . The positive integers below eight either fail to be units or have orders
whereas
Therefore the three smallest required integers are