What is the Last Digit of 7 to the Power of 123?

  • Thread starter sutupidmath
  • Start date
In summary, the conversation discusses finding the last digit and last three digits of 7^123 and 7^9999 respectively. The solution involves using modular arithmetic and Euler's theorem, with the final answer being 3 for the last digit of 7^123 and 143 for the last three digits of 7^9999.
  • #1
sutupidmath
1,630
4

Homework Statement


Find the last digit of [tex]7^{123} [/tex]


Homework Equations





The Attempt at a Solution



[tex]7^{123} \equiv x(mod 10)[/tex]

123=12*10+3 Now, since in Z_10

[tex]7^{120 }\equiv 1 (mod 10)=> 7^{123} \equiv 7^3=343 mod 10=>343(mod 10)=3[/tex]

SO would the last digit be 3?

 
Physics news on Phys.org
  • #2
Also, how would one find the last 3 digits of [tex]7^{9999}[/tex]

I know i have to work mod 1000, but i haven't been able to pull out anything so far.
 
  • #3
You used 7^4=1 mod 10 to do the first one, right? You want to do the second one the same way. Find a large k such that 7^k=1 mod 1000. Use Euler's theorem and the Euler totient function to find such a k. Once you've done that you may find it useful to know that 7 has a multiplicative inverse mod 1000 (since 7 and 1000 are coprime). Factor 1001.
 
  • #4
So,since we are working mod 1000, i will have to find the order of [tex]V_{1000}=\phi(1000)[/tex] so i know for sure that [tex]7^{\phi(1000)}\equiv 1(mod1000)[/tex]

NOw [tex]\phi(1000)=\phi(2^3)\phi(5^3)=400=>7^{400}\equiv 1(mod 1000)[/tex]

Now also

[tex](7^{1000})^{25}\equiv 1(mod 1000)=>7^{10000}=1+k1000=1001+(k-1)1000[/tex]

Now from here i guess, not sure though, we have

[tex]7|(k-1)[/tex]

Now above if we divide both parts by 7 we would get:

[tex]7^{9999}=143+\frac{k-1}{7}1000[/tex]

So


[tex]7^{9999}\equiv 143(mod1000)[/tex] so the last 3 digits are 143 ??

I thought there might be some more easy way...lol...
 
  • #5
That works. I would have just said since 7^400=1 mod 1000, then 7^10000=1 mod 1000. So if you let x=7^9999. Then you want to solve 7*x=1 mod 1000. Since 7 and 1000 are relatively prime, you can do that. And knowing 1001=7*143 give you a cheap way. x=143.
 
  • #6
This euler function seems to be very powerful, and i am far behind from being able to properly and easily use it...darn..
 

1. What is the last digit of 7^(123)?

The last digit of 7^(123) is 3.

2. How do you calculate the last digit of a large exponent like 7^(123)?

To calculate the last digit of a large exponent like 7^(123), you can use the pattern method. First, take the last digit of the base number (in this case, 7). Then, find the pattern of the last digits of the powers of this number. In this case, the pattern is 7, 9, 3, 1. Finally, divide the exponent (123) by 4 and use the remainder to determine the position of the last digit in the pattern. Since 123 divided by 4 has a remainder of 3, the last digit of 7^(123) is the third number in the pattern, which is 3.

3. Is there a formula to find the last digit of a large exponent like 7^(123)?

Yes, there is a formula to find the last digit of a large exponent like 7^(123). The formula is: (base number)^((exponent) mod 4), where "mod" represents the remainder when dividing the exponent by 4. In this case, (7)^(123 mod 4) = (7)^3 = 343. The last digit of 343 is 3, so the last digit of 7^(123) is also 3.

4. Can the last digit of 7^(123) be predicted without calculating the whole exponent?

Yes, the last digit of 7^(123) can be predicted without calculating the whole exponent. As mentioned before, you can use the pattern method or the formula (base number)^((exponent) mod 4) to determine the last digit without having to calculate the entire exponent.

5. Is the last digit of 7^(123) always going to be the same?

Yes, the last digit of 7^(123) will always be 3. This is because the pattern of the last digits of the powers of 7 repeats every 4 numbers, and 123 divided by 4 has a remainder of 3, meaning the last digit will always be the third number in the pattern.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
3
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
3
Views
882
  • Calculus and Beyond Homework Help
Replies
4
Views
849
  • Precalculus Mathematics Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
11
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
903
  • Calculus and Beyond Homework Help
Replies
32
Views
2K
  • Precalculus Mathematics Homework Help
Replies
1
Views
991
Back
Top