\(4^{2022}-1=\left(2^2\right)^{2022}-1\)
\(=2^{4044}-1\)
\(=\left(2^6\right)^{674}-1\)
\(=\left(2^6-1\right)\cdot\left[\left(2^6\right)^{673}+\left(2^6\right)^{672}+...+1\right]\)
\(=63\cdot\left[\left(2^6\right)^{673}+\left(2^6\right)^{672}+...+1\right]\)
\(=9\cdot7\left[\left(2^6\right)^{673}+\left(2^6\right)^{672}+...+1\right]⋮9\)