Finding Last Digits of 3400: Without Calculator or Euler's Totient Function

  • Thread starter mcooper
  • Start date
In summary, the conversation discusses how to find the last 1, 2, and 3 digits of 3400 without using a calculator. The suggested method is to use Euler's totient function and Euler's theorem. The conversation also talks about finding the powers of 5 mod 1000, with the conclusion that they all end in 625 or 125.
  • #1
mcooper
29
0

Homework Statement



How can I find the last 1,2 and 3 digits of 3400?

The Attempt at a Solution



I know I have to find 3400 mod 10, 100 and 1000 but I want to know how to do this without a calculator. Do I have to use Euler's totient function?

thanks in adavnce
 
Physics news on Phys.org
  • #2
All you need is 3^(400) mod 1000. That will give you the last three digits. Sure, use the totient function and Euler's theorem. I think it's the easiest way.
 
  • #3
Thanks alot! I am just wondering, when I get 3400= 1 mod 1000 by Euler's Theorem does that mean the last 3 digits are 001?

Also I kind of cheated a bit because I knew that phi(1000)=400. What can I use if I have a "random" number to calculate such as 5623? Would I just systematically go through, maybe using the the totient function and Euler's theorem, until I get something manageable?
 
  • #4
Sure, if a number is equal to 1 mod 1000 then it's last three digits are 001. And 3^400 mod 1000 is a particularly easy case. 5^623 mod 1000 is harder. You could start with 5^4 mod 1000=625. Then to get 5^8 mod 1000, you square the 625 and take the result mod 1000. Then you can square again to get 5^16 mod 1000. You can get the exponent pretty high pretty fast. But it turns out the powers of 5 mod 1000 are pretty easy for another reason. Can you find it?
 
Last edited:
  • #5
Are the powers of 5 easy because (5,1000)=1 so you can use Euler's Theorem?
 
  • #6
mcooper said:
Are the powers of 5 easy because (5,1000)=1 so you can use Euler's Theorem?

How do you figure gcd(5,1000)=1? You can't apply Euler's theorem. Just start looking at increasing powers of 5 mod 1000. There's a simple pattern.
 
  • #7
Sorry that's poor, its been a long day/night. All powers of 5 are congruent to 625 mod 1000 (hence 25 mod 100). Kind of weird but kind of cool. Is there a mathematical reason/proof for this? mod 10000 they are not all the same...
 
  • #8
mcooper said:
Sorry that's poor, its been a long day/night. All powers of 5 are congruent to 625 mod 1000 (hence 25 mod 100). Kind of weird but kind of cool. Is there a mathematical reason/proof for this? mod 10000 they are not all the same...

That's not true. 5^4 is congruent to 125. 5^5 is conguent to 625. It's just because 125*5 is congruent to 625 and 625*5 is congruent to 125. They keep repeating.
 

Related to Finding Last Digits of 3400: Without Calculator or Euler's Totient Function

1. What is the value of the last 3 digits of 3^400?

The value of the last 3 digits of 3^400 is 625.

2. How do you calculate the last 3 digits of 3^400?

To calculate the last 3 digits of 3^400, we can use the cyclicity property of the last digits of powers of 3. The last digits of powers of 3 repeat in a cycle of 4, which means that the last 3 digits of 3^400 will be the same as the last 3 digits of 3^4. Therefore, we can calculate 3^4=81 and the last 3 digits are 081.

3. Can the last 3 digits of 3^400 be any number?

No, the last 3 digits of 3^400 will always be 625. This is because of the cyclicity property of the last digits of powers of 3. The last digits of powers of 3 repeat in a cycle of 4, and 400 is a multiple of 4.

4. Why is it important to know the last 3 digits of 3^400?

The last 3 digits of 3^400 can be used in various mathematical applications, such as cryptography, number theory, and computer science. It can also help in solving other problems that involve powers of 3.

5. Can the last 3 digits of 3^400 be used to predict the last digits of other powers of 3?

Yes, knowing the last 3 digits of 3^400 can help in predicting the last digits of other powers of 3. This is because of the cyclicity property of the last digits of powers of 3. However, it is important to note that this property may not hold for extremely large powers of 3.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
355
  • Calculus and Beyond Homework Help
Replies
2
Views
819
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
9
Views
2K
Replies
4
Views
1K
  • Precalculus Mathematics Homework Help
Replies
28
Views
3K
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
Back
Top