Residue of the (next,next) year

Find the residue when 7 2016 7^{2016} is divided by 13 13


The answer is 1.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Himanshu Arora
May 30, 2014

First, note that 7 2 3 ( m o d 13 ) 7^{2} \equiv -3 (mod 13) . This implies 7 2016 m o d 13 = ( 3 ) 1008 m o d 13 = 3 1008 m o d 13 7^{2016} mod 13= (-3)^{1008} mod 13 = 3^{1008} mod 13 .

Now, since, 3 3 1 ( m o d 13 ) 3^{3} \equiv 1 (mod 13) and 1008 0 ( m o d 3 ) 1008 \equiv 0 (mod 3) , thus 7 2016 1 ( m o d 13 ) 7^{2016} \equiv 1 (mod 13)

Marc Duque
May 29, 2014

For Fermat's Little Theorem, n ( n p 1 ) = k p n\cdot (n^{p-1})=kp where p p is prime. In this case, 7 ( 7 13 1 1 ) = 13 k 7\cdot (7^{13-1}-1)=13k

So, 7 12 1 ( m o d 13 ) 7^{12} \equiv 1 (mod 13)

Then, 7 2016 = ( 7 12 ) 168 7^{2016}=(7^{12})^{168} 7 2016 1 ( m o d 13 ) 7^{2016} \equiv 1(mod 13) And so r=1

I like this solution. I wish I knew Fermat's Little Theorem before solving this though :P

Sudeshna Pontula - 6 years, 5 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...