Let $G=<a>$ be a cyclic group. $O(a)=24$. We will define $H_k$: $H_k=<a^k>$. Find for what $k$ values, $0\leq k \leq 23$, $a^5H_k=a^{13}H_k$.
I couldn't figure a way to answer this quickly. I know that $a^5H_k=a^{13}H_k \iff a^5\in a^{13}H_k$.
Obviously it will be equal for all $k$ such that $gcd(k,24)=1$. It will also be equal if $k|16$. Beyond that I am unable to tell (without checking all values one by one...). Is there an efficient way to solve this problem?
Hint: $a^5H_k = a^{13}H_k$ if and only if $a^8\in H_k = \langle a^k\rangle$.