Order of an element divides order of a group. So to find elements of order 7 the n/GCD(a, b) = 7.
So 42/GCD(a, 42) = 7
Using the above property, a can be 2*3, 2^2*3, 2^3*3, 2*3^2, 2^2*3^3
I could find only five elements but answer says there are 6 such elements possible. Which one am I missing?