Doug C. answered 02/14/22
Math Tutor with Reputation to make difficult concepts understandable
Try writing out the 1st 8 powers of 3.
31=3
32=9
33=27
34=81
35=243
36=729
37= a number with a units digit of 7
38= a number with a units digit of 1
This pattern will repeat over and over for every 4 powers of 3: 3,9,7,1.
So if you divide 50 by 4, the remainder will tell you which exponent to apply to 3 to get its unit digit.
50/4 = 12 R 2. There are 12 complete patterns with 2 powers left over..
There is actually an operator (modulus) on a calculator that gives you the remainder. On Desmos it looks like this:
mod(50,4) = 2.
32= 9, so the answer to the question is 9.