Let $n,k,l\in\mathbb{N}_{\geq 1}$. I am interested in knowing that is known about the congruence of $2^k$ mod $3^n$, and specifically what sufficient conditions for
$$2^k \equiv 2^l \mod 3^n$$
other than having $k\equiv l \mod \phi(3^n)$ for the Euler's Totient function (see this Wikipedia article). Actually in this case to my knowledge $\phi(3^n) = 3^n - 3^{n-1} = 2\cdot 3^{n-1}$ (since there are $3^{n-1}$ multiples of $3$ between $1$ and $3^n$). I am asking this question on the basis of the interesting article: https://proofwiki.org/wiki/Congruence_Modulo_3_of_Power_of_2 in ProofWiki. I don't have much background in number theory/modular arithmetic, so I can't answer this question myself.