Calculate the remainder when 3^293 is divided by 97. I'm not sure how to solve this. My work so far:- 293 = (3*97) + 2 3^293 = 3^(3 * 97 + 2) = 3^2 * (3^3)^97 = 9* 27^97. I'm stuck here.
is it like a show-your-work problem?
I guess we need to bring modular arithmetic into this? I find that stuff rather difficult...
But we are talking remainders so mod arithmetic comes to mind.
OK i 've found the solution. You use Fermat's Little Theorem
x^p = x mod p where p is a prime number so here we have 3^293 mod 97 = ( 9*27^97) mod 97 = (9 * 27) mod 97 = (243) mod 97 = 49 mod 97 so the remainder is 49.
Please check my work
@ganeshie8
i think it's correct
yea I came across Fermats Little theorem browsing a chapter on modular arithmetic. That was new to me.
oh in number theory and arithmetic therma is really important :")and this theorem too
there is also thermat's big theorem
I'd only heard of Fermats Last Theorem whose proof had to wait for centuries!!
i think it is thermats big theory you are talking about..it was proveid in 90's wiles needed 7 years to prove :)
he wote that he had the proof but didn't have free space to write it on the margin..wiles needed 150 pages or more ;)
Wow! Thats the one about a^n + b^n= c^n being not true for n = integer >2 right?
yeah that is: but it is proved and numbers are found to satisfy that
There are numbers which satisfy that? That I didn't know. Whole numbers?
Hey!
yaeh,you can google
Your work looks perfect!
Good! I'm beginning to get a better grasp of modular arithmetic. THanks ganeshie.
Just for the sake of an alternative, notice that : \[x^p\equiv x\pmod{p}\] is same as \[x^{p-1}\equiv 1\pmod{p}\] whenever \(\gcd(x,p)=1\)
Therefore, rising both sides to \(k\)th power we get : \[(x^{p-1})^k \equiv 1 \pmod{p}\]
thats looks a useful result
Since \(97\) is prime, we have : \[(3^{96})^k\equiv 1\pmod{97}\]
plugging \(k=3\) gives \[3^{288}\equiv 1\pmod{97}\]
multiply both sides by \(3^5\) and we're done!
yes 3^5 = 243
great
Join our real-time social learning platform and learn together with your friends!