"What is the remainder of $3^{12194}$ when divided by 17?"
So I'm trying to work this out using Fermat’s Little Theorem which I know we can use for a fact because 17 is prime with GCD(3,17)=1 and I've tried using it and other questionable methods to at least calculate the remainder of $3^{12194}$ before doing the division part but I just keep getting incorrect answers and quite frankly I have no idea as to why. Would appreciate it if someone could show how this is supposed to be done correctly.