All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Get the last digit (Posted on 2011-01-17) Difficulty: 2 of 5
Let A=2^n+3^n+7^n
For a given positive integer n what is the last digit of A?

See The Solution Submitted by Ady TZIDON    
Rating: 4.0000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution No Subject Comment 2 of 2 |

Last digits of 2^n have a cycle of four: 2, 4, 8, 6.

Last digits of 3^n have a cycle of four: 3, 9, 7, 1.

Last digits of 7^n have a cycle of four: 7, 9, 3, 1.

The total therefore has a cycle of four: 2, 2, 8, 8.

This means, depending on n mod 4 being 0 through 3, the values are 8, 2, 2 and 8 respectively.


  Posted by Charlie on 2011-01-17 18:14:02
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (22)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information