I am currently looking back at some exercises of my first classes of algebra. I had this question: Given that $A, \cdot$ is a group of integers modulo 56 and $5, 15 \in A$. What are the other elements?
So i have tried to solve this using what we saw up to that point of the lectures: the definition of groups and the definition of subgroups (+ subgroup criterion).
I'm kind of stuck on this question: I started multiplying 5 with itself, so I have found that $5^2 = 25 \in A, 5^3 = 125 = 13 \in A$ and $5^4 = 13 \cdot 5 = 9 \in A$... Then I looked at $5 \cdot 15 = 75 = 19$. After this, I made some more computations to discover new elements at each try.
However, there must be a quicker way, right?
Based on the fact that $\text{gcd}(5,56) = 1$, I know that (using more information than I knew at that time) that $5$ is a unit (same thing for 15).
Any hints on how to solve this (using only definition of groups + definition of subgroups + groupcriterion)?
Thank you in advance.
EDIT: I have found (by just computing products, that $5^6 = 1 (\mod 56)$.