# Moderate Number System Solved QuestionAptitude Discussion

 Q. Find the remainder when $2^{89}$ is divided by $89$?
 ✖ A. 1 ✔ B. 2 ✖ C. 87 ✖ D. 88

Solution:
Option(B) is correct

When we take successive powers of $2$ and find their remainders, we get the following cyclic patterns of cycle length $11$.

viz $2,4,8,16,32,64,39,78,67,45, 1$

i.e $2^{11}$ leaves a remainder $1$.

Thus, $2^{89} = (2^{11})^8 (2)$ leaves a remainder of 2.

Edit: Thank you Shireen for explaining cyclicity concept involved in the solution.

Alternate Method: As Arjunbkool  pointed out in the comments, a little trick can be used to solve this question.

Remainder of $\dfrac{N^{p-1}}{P}$ is 1 as long as $P$ is a prime number.

Now, as pointed out by Arghya Chakraborty,

$2^{89-1}=2^{88}$ leaves a remainder of 1 when divided by 89 (note that 89 is a prime number)

So, $2^{89}$ will leave remainder 2 when divided by 89.

Edit 2: For yet another alternative solution using 'modulus' method, check comment by Sravan Reddy.

## (19) Comment(s)

Prakash Kasera
()

$2^2%2=2$ , $2^3%3=2$ ,$2^5%5=2$ ,$2^7%7=2$ and so on, mean $2$ raised to the power prime number when divided by the same prime number it gives remainder always $2$.

Abhilash
()

Binomial expansion can be used as well

(1+1)^89=89c0+89c1+....89c88+89c89

Only first and last numbers leave a remainders 1+1 =2

Sairam
()

How can we find for this numbers remainder?

Rahul
()

How to solve $2^{30}$

and any other questions like this.

Girish
()

You have to find the cyclic pattern as in this question and proceed using the same methodology used in the solution (or in the alternative solutions).

Robo
()

$((2)^11)^2 x 2^8 = 2^30$

$where 2^8=256$

:- 256/30

rema. = 16

Shubh
()

How can be the cyclic pattern length of powers of 2 be 11?

Sravan Reddy
()

Alternate solution using 'modulus' method:

$2^8 = 256\text{mod}89 = -11\text{mod}89$

By multiplying with 8 on both sides,

$2^{11} = -88\text{mod}89 = 1\text{mod}89$

Raise both sides by 8,

$2^{88} = 1\text{mod}89$

Multiply by 2 on both sides,

$2^{89}=2\text{mod}89$

So, remainder is 2!!

Swatantra Singh
()

Arjunbkool
()

I recently came to know about a theorem that states reminder of N (p-1)/P is 1 as long as P is a prime number. That could be used here.

Deepak
()

Thank you Arjunbkool for the suggestion, added your suggestion in the solution.

Shivam
()

In this method N^P-1/P Remainder is 1 there is a condition in N^P-1/P which is N is Not equal to P if N=P then this method is failed

For Example 7^7-1/7 then Remainder is 0

Tarun
()

the quetion is good but solution is not up to satisfactory level

()

Can any body suggest any other time saving trick???

Shireen
()

The trick to solve such questions is KNOW THE CYCLICITY of that particular number.

As every number is cyclic with period 4 (see very good detailed explanation: Number System Cyclicity Explanation),

we can write the given number in terms of power of 4:

$2^89=2^{(4*22) + 1}$

using which we get the LAST DIGIT or REMAINDER as:

$2^1= \textbf{2}$

Hope this helps.

Arghya Chakraborty
()

Do as 'arjunbkool' has stated.

$2^88$ leaves a remainder of 1 when divided by 89(89 is prime)

So, $2^89$ will leave remainder 2 when divided by 89

if (defined ( 'LF_SITECTRL' )) echo LF_SITECTRL; ?>