How many 19th power residues modulo 229 are there?
My approach was that as gcd(19,228) = 19, then by a proposition that I am allowed to use from lecture, any b is a 19th power residue mod 229 if and only if $b = x^{19}$ for some x an element of unit group of (Z/229). This group has 228 elements, so I conclude that there are 228 19th power residues modulo 229.
Is my logic flawed in any sense? I am not sure if the fact I am using necessarily implies a bijection between the number of power residues and elements in the unit group.