Skip to main content

What are the last 3 digit of 2^2017?

I will provide two methods for this.
Method 1 (Easy way) :
USE A CALCULATOR. You will get the answer in a matter of seconds like I got.
Clearly, the answer is 072.
Method 2 (Slight harder way) :
Here, I want to find the answer without using the calculator. Let's try it.
Note:- I will be making use of Congruence Modulo and Euler's Theorem, so these are the prerequisites.
Another way to put the question is “Find the remainder when 22017 is divided by 1000”.
First of all we factorise 1000 as:
1000=23×53
Next, we find the remainder by 23 and 53seperately.
It's obvious that 23 divides 22017. Hence,
220170(mod8)
Now to find the remainder by 125 (or 5^3), we use Euler's Theorem. Euler's theorem is applicable in this case since gcd(2,125)=1.
Φ(125)=125(115)=100
Hence, 2Φ(125)1(mod125)
21001(mod125)
220001(mod125)
22017217(mod125)
Since 217=131072,21772(mod125)
2201772(mod125)
At this point, one may apply Chinese Remainder Theorem but checking few cases will yield the answer faster.
Since the number leaves a remainder 72 when divided by 125, the last digits can be:
125×0+72=072, or
125×1+72=197, or
125×2+72=322, or
125×3+72=447, or
125×4+72=572, or
125×5+72=697, or
125×6+72=822, or
125×7+72=947
We also know that the number is divisible by 8. The only number from the above list which is divisible by 8 is 72. Hence the answer is 072.

I would like to share one more thing. I calculated 2^17 in my head (since use of calculator is not allowed). How did I do that? Let's see:
210=1024
220=10242=(1000+24)2
=10002+2×1000×24+242
=1000000+48000+576
=1048576
Now divide this number by 8 to get 2^17.
10485768=131072
Easy, no?

Comments

Popular posts from this blog

how is tan (A+B) = [tan A + tan B]/[1 - tan A tan B]?

How is tan (A+B) = [tan A + tan B]/ [1 - tan A tan B]? Method 1: Let A = 30 deg and B = 45 deg. LHS = tan (30+45) = tan 75 = 3.732050808 RHS = [tan A + tan B]/[1 - tan A tan B] = [tan 30 + tan 45]/[1 - tan 30 tan 45] = [0.577350269 + 1]/[1 - 0.577350269*1] = 1.577350269/0.42264973 = 3.732050808 = LHS Proved. Method 2: tan (A+B) = [tan A + tan B]/[1 - tan A tan B] RHS = [tan A + tan B]/[1 - tan A tan B] =[(sin A/cos A) + (sin B/cos B)]/[1-(sin A/cos A)(sin B/cos B) = [sin A cos B + cos A sin B]/[cos A cos B][1 - sin A sin B/(cos A cos B)] = sin (A+B)/{[cos A cos B][cos A cos B - sin A sin B]/(cos A cos B)} = sin (A+B)/[cos A cos B - sin A sin B = sin (A+B)/cos (A+B) = tan (A+B) = LHS. Proved. Thanks. source:Quara

What are some mind-blowing facts about mathematics?

Prime Generating Polynomials : The polynomial,  n 2 + n + 41 n 2 + n + 41  can be used to produce 40 primes for consecutive integer values 0≤n≤39.  This property was discovered by Euler . Similarly, the incredible formula,  n 2 − 79 n + 1601 n 2 − 79 n + 1601  was discovered, which produces 80 primes for the consecutive values 0≤n≤79! Kaprekar’s Constant : 6174 is known as Kaprekar’s Constant , after the Indian Mathematician D.R. Kaprekar. Take any four-digit number, using at least two different digits (Leading zeros are allowed.) Arrange the digits in descending and then in ascending order, to get two four-digit numbers, adding leading zeroes if necessary. Subtract the smaller number from the larger number and go back to step 2. The above process will always reach the fixed number, 6174, taking at most 7 iterations. Try it yourself! ( Note that after the first subtraction or the subsequent subtractions, the result obtained is always a multi...

What is the application of linear equations in two variables in daily life?

In life X = our happiness, life, dreams, desires etc Y = caring for others, other's happiness, value we give to others. In daily life X + Y = Compromise, sacrifice, adjustments but still maintaining happiness of X & Y factors. Stay happy stay blessed Thank you  They are used in solving linear inequalities, which are then used to solve linear programming problems. Now, linear programming, as widely known solves problems about many situations in daily life. It helps you know which food products to buy for requisite nutrition at the least cost, how to travel max. distance in least fuel, how to price your products for a max. profit, and many more