Bob J.

asked • 04/22/16

Number theory: What are the last 4 digits of 2^503? (No calculator)

This was an extra credit question on a math test (was not related to what we are learning/have learned)
 
Apparently, it's 0008, because 2^X repeats its last 4 digits every 500 numbers in a pattern, starting at n=3
 
I got the additional information that the repetition of 2^X can be modeled by f(x)= (4/5)(5^X), where X is the number of digits in the pattern (in this case, 4), and f(x) is the amount of values before the pattern repeats itself, also, the pattern begins at n=x.
 
It may seem as if I have answered my own question, but how could I have solved this WITHOUT a calculator? (a quick modulo could have given me 2^503mod1000=8, of course)

1 Expert Answer

By:

Hassan H. answered • 04/23/16

Tutor
5.0 (176)

Math Tutor (All Levels)

Bob J.

Thanks. A little bit of this went over my head, but I think I get the idea
 
Good to know that my cocky friend's answer of 0008 was wrong!
 
 
Report

04/23/16

Hassan H.

Yes, that can be exceedingly satisfying!
Report

04/23/16

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.