Two Plus Two Older Archives  

Go Back   Two Plus Two Older Archives > General Gambling > Probability
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 10-24-2002, 09:19 PM
Guest
 
Posts: n/a
Default Re: Simple Math Problem

If you only care about the one's digit, it only matters that 513 ends with a 3.

3^0 ends with 1
3^1 ends with 3
3^2 ends with 9
3^3 ends with 7

from here, it repeats: 1, 3, 9, 7. So simply take the power and divide by 4. The remainder should tell you which of these is the last digit.

For your example: 128 mod 4 is 0, therefore 513^128 ends with a 1.

Hope that helps!
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:31 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.