Find the remainder of $3^{{{{{3^3}^3}^3}^3}^\cdots} \text{(2020 copies of 3)}$ by 46
Note that $a^{b^c}$ means $a^{(b^c)}$ not $(a^b)^c$
If there was 2 copies of 3: $3^3\equiv27 (mod 46)$.
If there was 3 copies of 3: $3^{3^3}\equiv3^{27}\equiv(3^9)^3\equiv(19683)^3\equiv(41)^3\equiv68921\equiv13(mod46)$
However I can't repeat this process 2020 times. How to solve this?