Query about Question 3 from "PrepSwift: Remainders and Exponents" [3544]

https://prepswift.gregmat.com/quizzes/quiz/prepswift-remainders-and-exponents (Question 3)


What is the remainder when 6^29 is divided by 4?

I have derived an answer of 2. Has anyone solved it? The original Answer by the website is Zero? How?

6^{29} = 6^2 \left( 6^{27} \right) = 4 \cdot \color{red}9 \left( 6^{27} \right)

As you can see, the quantity is a multiple of 4, so it’ll naturally leave a remainder of 0 when divided by 4.