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

area of sphere

Well ever wondered how the  Surface Area of a Sphere  was derived? Well here is a great visualisation to alter your perception. Step 1 : Cut the sphere in the following way. Step 2 : Spread the cut out part across the paper Step 3 : Collate the pieces together in the following way Step 4 : Spread the areas out separately to form a sine curve Step 5 : The area of the sine curve is the surface area of the sphere Here’s a  GIF file  for better understanding. There’s of course the generic method of calculation where the surface area is calculated by cutting the sphere into infinitesimally thin disks of varying radius stacked over one another and integrating them, but this above method is a different way to look at the same problem. Image Source: Google Images 220 Loves 284. Yes, this pair of numbers was considered as a symbol of love in medieval period, lovers used to send flowers, fruits to each other with these numbers written. Also so

There are five people in a room,i come and killed 4 how many remains?

The answer is four. I can quite confidently say that based on the wording given, the answer is four. First of all, we need to establish some things. I am assuming: All five people were alive before entering The four people that were killed are the only people that have died I can figure this out because of the last word: “remains.” “Remains” can be one of two things: a noun or a verb. As a verb , there are multiple answers to the question. First, if there are five people and four are killed, one person is left alive. However, you are in there as well, so would that be two remaining? Or should we count everyone in the room, which would be six people? Well, none of this matters. This is because the question states “How many remains?” As a verb, “remains” applies to only a few certain subjects: he/she/one (he remains/she remains/one remains). Otherwise it would be I remain/You remain/They remain/We remain. If “remain” was to be used as a verb, it would’ve said “How man