exponent prob

This topic has expert replies
Junior | Next Rank: 30 Posts
Posts: 14
Joined: Sun May 13, 2007 2:22 pm

exponent prob

by d0nw0ng » Mon Oct 08, 2007 10:30 am
n is a positive integer, what is the remainder when 3^(8n+3) + 2 is divided by 5?

a 0
b 1
c 2
d 3
e 4

Senior | Next Rank: 100 Posts
Posts: 98
Joined: Mon Jun 11, 2007 10:32 pm
Location: Mumbai

by ratindasgupta » Mon Oct 08, 2007 12:15 pm
The cyclicity of 3's exponents is 4. ie, the units digits are always in the pattern of 3, 9, 7, 1, 3, 9 and so on and so forth.

So multiplying the exponent by 8 and adding 3 to it will always result in the same units digit number.

Eg. if n is 1, then 3^11 will result in 7 as the units digit. Likewise if n is 2, 3, 4, etc.

And 7 + 2 = 9. So the remainder will always be 4.

Answer is E