Simple Problem 4

What is the remainder of 2 1 0 9 + 7 2^{10^{9}+7} when divided by 1 0 9 + 7 10^{9}+7 ?


The answer is 2.

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

Yajat Shamji
Jul 9, 2020

1 0 9 + 7 = 1000000007 10^9 + 7 = 1000000007

2 1000000007 1000000007 \frac{2^{1000000007}}{1000000007}

Now using Fermat's little theorem:

a p 1 = 1 ( mod ( p ) ) a^{p - 1} = 1 (\text{mod} (p))

Using p = a = 2 p = a = 2 :

2 2 1 = 1 ( mod ( 2 ) ) 2^{2 - 1} = 1 (\text{mod} (2))

Therefore, the answer is 2 \fbox 2

A Steven Kusuman
Jan 23, 2015

Fermat little theorem if(p==prime){ a^(p-1)=1 mod p }

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...