If i have a really large number like \begin{gather} 3^{762259784987} \end{gather} or \begin{gather} 7^{836793257}\end{gather} Is there a way to find the last three digits without using modular arithmetic or is that the only method. If their is could someone please outline a method because i would be very curious. I don't want to use modular arithmetic, despite it probably being the most obvious method, because we haven't covered the topic yet but I still received a similar problem which leads me to believe that their could be another method that relies more on problem solving skills. But I could be very wrong and maybe the only method involves modular arithmetic. I worked out how to find the last digit because of the cyclical nature but I haven't had any luck with figuring out all of the last three digits.
(Note: Someone rightfully pointed out that the title and the question asked for two different things, my fault and sorry for any confusion but I was originally thinking about the last three)