Cover image for MicroStrategy
Logo

MicroStrategy

Is dit uw bedrijf?

MicroStrategy

Een sollicitatiegesprek toevoegen

Sollicitatievraag

Sollicitatiegesprek voor de functie Software Quality Engineer

-

MicroStrategy

The brain teaser: what is the last digit of 2007 power 2007

Antwoorden op sollicitatievragen

4 antwoorden

1

Last digit of 7^1 is 7. last digit of 7^2 is 9. Last digit of 7^3 is 3. Last digit of 7^4 is 1. After this, the last digits repeat in the same pattern. 2007 divided by 4 is 501 with reminder is 3. Therefore the last digit is not 7, not 9, but 3. (the third case).

Anoniem op

0

Answer: Concept: for n^n multiple resultant number in units place n-1 times with n. Answer: Just multiply the units place of the result wit 7 , six times.. i.e 1st iteration- 7 x 7 = 49 take number in units place i.e 9 mul by 7--> 2nd iteration- 9 x 7 = 63 3rd iteration- 3 x 7=21 4th iteration- 1 x 7=7 5th iteration- 7x7=49 6th iteration- 9 x 7=63 Note we have to take only 6 iterations because we have already considered 7 twice in the first iteration. i.e 7 multiplied by SIX 7s So the digit would be 3.

Shrey op

1

simple solution is : 7^1 = 7 7^2 = 9 7^3 = 3 7^4 = 1 7^5 = 7 7^6 = 9 7^7 = 3 7^8 = 1 so pattern follows in 4 part so 2007 mod 4 = 3 so Third pattern answer is 3

Amay op

0

I first was scared by this question, but after a few seconds, I figure out how to answer it with recursion.

Anoniem op

Voeg antwoorden of opmerkingen toe

Meld u aan of registreer u om hier een opmerking over te maken.