It is easier than you think!

What is the remainder if 278 1 5335 2781^{5335} is divided by 20 20 ?


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

Chew-Seong Cheong
Feb 14, 2020

278 1 5335 ( 2780 + 1 ) 5335 1 5335 1 (mod 20) \begin{aligned} 2781^{5335} \equiv (2780+1)^{5335} \equiv 1^{5335} \equiv \boxed 1 \text{ (mod 20)} \end{aligned}

From the identity a n b n = ( a b ) ( a n 1 + b a n 2 + . . . b n 1 ) a^n-b^n = (a-b)(a^{n-1} + ba^{n-2} + ... b^{n-1}) we know that 278 1 5335 1 = ( 2781 1 ) ( 278 1 5335 1 + 278 1 5335 2 + 1 1 1 ) 2781^{5335} - 1 = (2781-1)(2781^{5335-1} + 2781^{5335-2} + 1^{1-1}) .

Because 2781 1 2781-1 is divisible by 20 20 , the left-hand side ( 278 1 5335 1 2781^{5335} -1 is divisible by 20 20 so 278 1 5335 20 \frac{2781^{5335}}{20} will give us a remainder of 1.

*Most of the solution by Ishtiaque Ahmed Sayef.

As you have edited your comment, I have also updated my comment.

Ishtiaque Ahmed Sayef - 1 year, 3 months ago

Log in to reply

Selam Aleykum, thanks for bringing this up. I've changed it - does it seem better now.

A Former Brilliant Member - 1 year, 3 months ago

Log in to reply

Wa alaikumussalam little brother. I am very much happy that you wished me salam. The pattern you are talking about in the edited comment is correct and I have understood what you have tried to express. But your solution procedure is not well organized. If you don't want to use modular arithmetic, then you can use the fact that a n b n = ( a b ) ( a n 1 + a n 2 b + . . . + b n 1 ) a^{n} - b^{n} = (a - b)(a^{n-1 }+ a^{n-2}b + ... + b^{n-1}) , that is 278 1 5335 1 = ( 2781 1 ) ( 278 1 5335 1 + 278 1 5335 2 + . . . + 1 ) 2781^{5335} - 1 = (2781 - 1)(2781^{5335-1 }+ 2781^{5335-2} + ... + 1) . Since ( 2781 1 ) (2781-1 ) is divisible by 20 20 , the left hand side 278 1 5335 1 2781^{5335} - 1 is also divisible by 20 20 . Thus if 278 1 5335 2781^{5335} is divided by 20 20 , 1 1 is the remainder.

Ishtiaque Ahmed Sayef - 1 year, 3 months ago

Log in to reply

@Ishtiaque Ahmed Sayef Thanks! I hadn't heard of this formula a n b n a^n-b^n formula before.

A Former Brilliant Member - 1 year, 3 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...