7 7 7 7 7 7 7
Find the last two digits of the number above.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
It is not entirely clear how you get 7 4 ≡ 1 ( m o d 5 ) ⇒ 7 4 ≡ 1 ( m o d 1 0 0 ) . It is implied that 7 4 ≡ 1 ( m o d 1 0 0 ) because you know 7 4 ≡ 1 ( m o d 5 ) . How did you make the connection? And can you elaborate further on how you obtain "So this means that: 7 7 7 7 7 7 7 ≡ 7 3 3 3 3 3 3 m o d ( 1 0 0 ) "?
I think you mean Fermat's Little Theorem
Yes @Curtis Clement , There is a typo. That should be Fermat's Little Theorem. :)
The other part is simple
7 4 ≡ 1 ( m o d 5 ) ⇒ 7 4 ≡ 1 ( m o d 2 5 )
Now,
( 7 ϕ ( 4 ) ) 2 ≡ 1 ( m o d 4 ) i.e 7 4 ≡ ( m o d 4 )
Hence,
7 4 ≡ 1 ( m o d 1 0 0 )
I think it should be 07
7^3^3^3^3^3^3 = 7^9^9^9
7^9 equiv to 07 (mod 100)
7^9^9^9 = 7^9 (mod 100)
7^9 \equiv 07 \ (mod 100)
Hence answer is 07
Log in to reply
in other way
7^7 equiv to 7^3 equiv to 43 (mod 100)
7^7^7 equiv to 7^3^3 = 7^9 equiv to 07 (mod 100)
7^7^7^7 equiv to 43 (mod 100)
and so on
so 7^7^7^7^7^7^7 is equiv to 07
Pls correct the answer
Use the Clock model and begin with 7^1.
7^1 ends in 7, 7^2 ends in 49.
7^3 ends in 43 So the. 3rd 7 ends in 43.
Now, there are six sevens. Since the 6th seven is a multiple of 3, then according to the Clock model , the 6th 7 will also end in 43. Done !
By Euler's theorem we need to determine the value of exponent 7 7 7 7 7 7 modulo ϕ ( 1 0 0 ) = 1 0 0 × ( 1 − 2 1 ) × ( 1 − 5 1 ) = 4 0 .
Again, by Euler's theorem we need to determine the value of exponent 7 7 7 7 7 modulo ϕ ( 4 0 ) = 4 0 × ( 1 − 2 1 ) × ( 1 − 5 1 ) = 1 6 .
Again, by Euler's theorem we need to determine the value of exponent 7 7 7 7 modulo ϕ ( 1 6 ) = 1 6 × ( 1 − 2 1 ) = 8 .
Again, by Euler's theorem we need to determine the value of exponent 7 7 7 modulo ϕ ( 8 ) = 8 × ( 1 − 2 1 ) = 4 .
Again, by Euler's theorem we need to determine the value of exponent 7 7 modulo ϕ ( 4 ) = 4 × ( 1 − 2 1 ) = 2 .
And, now we have : 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 ≡ ( 2 × 3 + 1 ) 7 ≡ 1 ( m o d 2 ) ≡ 7 1 ≡ 3 ( m o d 4 ) ≡ 7 3 ≡ ( 8 × 6 + 1 ) × 7 ≡ 7 ( m o d 8 ) ≡ 7 7 ≡ ( 1 6 × 3 + 1 ) 3 × 7 ≡ 7 ( m o d 1 6 ) ≡ 7 7 ≡ 4 9 3 × 7 ≡ 8 1 × 9 × 7 ≡ 1 × 6 3 ≡ 2 3 ( m o d 4 0 ) ≡ 7 2 3 ≡ ( 1 0 0 × 2 4 + 1 ) 5 × 7 3 ≡ 4 3 ( m o d 1 0 0 ) So, the last two digits of 7 7 7 7 7 7 7 is 4 3
Simplest to understand. Well done!
Got that! but can you please explain what was the use of finding those totient functions from 100 and how did you got 7^7^7^7... congruent to 7^7 please reply I need this method to solve a different question and this is the best and easiest method so far thank you
The last two digits of 7 make up a series such that it repeats these two last digits all the time: 1) 07 2) 49 3) 43 4) 01 So, to know which one of these pairs appears, you have to only know the last two digits of the number 7^7, so as we know 7 has the following sum:4+3, 4 means that it crossed all the terms and the 3 means that it stopped at the third option which is 43, and since the last two digits of 7^7 are 43, the number shown in the question will have the same two last digits as 43mod4=3, so the last two digits keep coming up, this means that the last two digits of the number shown in the question are 43.
We observe that the order of 7 in the multiplicative group Z 1 0 0 ∗ is 4 . That is, 7 4 ≡ 1 ( m o d 1 0 0 ) .
With that fact, the original question What is the remainder when 7 7 7 7 7 7 7 is divided by 1 0 0 ? is now reduced to What is the remainder when 7 7 7 7 7 7 is divided by 4 ?
Since 7 ≡ − 1 ( m o d 4 ) and 7 7 7 7 7 is odd, we have 7 7 7 7 7 7 ≡ ( − 1 ) 7 7 7 7 7 ≡ − 1 ≡ 3 ( m o d 4 )
Let us call the quotient of the above operation q . That is, 7 7 7 7 7 7 = 4 q + 3 .
So now, 7 7 7 7 7 7 7 = 7 4 q + 3 = ( 7 4 ) q × 7 3 ≡ ( 1 ) q × 7 3 ≡ 7 3 ( m o d 1 0 0 ) .
Hence the last two digits of 7 7 7 7 7 7 7 is the same as the last two digits of a less scary looking number 7 3 which is 4 3 .
May be simple way to just do 7^7 = 823543 and derive the last two digits.
Nice solution sir....
All congruences will be modulo 100. We will freely use the results 7 3 ≡ 4 3 and 7 4 ≡ 1 . We will show, by induction, that 7 7 7 . . . . ≡ 4 3 for any power tower of at least two 7s.
First, 7 7 ≡ 7 3 ≡ 4 3 . If n ≡ 4 3 , then 7 n = 7 1 0 0 m + 4 3 = ( 7 4 ) 2 5 m + 1 0 7 3 ≡ 4 3 .
Please explain the last step
Log in to reply
In the last step we use that 7 4 ≡ 1 and 7 3 ≡ 4 3 as stated at the beginning (we find those congruences by inspection).
I have a question, why did I get 7^(7 7 7 7 7*7) on my calculator and the last two digits are 07
Use the Clock model and begin with 7^1.
7^1 ends in 7, 7^2 ends in 49.
7^3 ends in 43 So the. 3rd 7 ends in 43.
Now, there are six sevens. Since the 6th seven is a multiple of 3, then according to the Clock model , the 6th 7 will also end in 43. Done !
I think it should be 07
7^3^3^3^3^3^3 = 7^9^9^9
7^9 equiv to 07 (mod 100)
7^9^9^9 = 7^9 (mod 100)
7^9 \equiv 07 \ (mod 100)
Hence answer is 07
in other word
7^7 equiv to 7^3 equiv to 43 (mod 100)
7^7^7 equiv to 7^3^3 = 7^9 equiv to 07 (mod 100)
7^7^7^7 equiv to 43 (mod 100)
and so on
so 7^7^7^7^7^7^7 is equiv to 07
Pls correct the answer
We observe that 7 4 ≡ 1 ( m o d 1 0 0 )
Now, 7 ≡ − 1 ( m o d 4 ) .
∴ 7 7 7 7 7 7 ≡ − 1 ≡ 3 ( m o d 4 ) .
⇒ 7 7 7 7 7 7 7 ≡ 7 ( 4 k + 3 ) ≡ 7 4 k × 7 3 ≡ 1 ⋅ 7 3 ≡ 7 3 ≡ 4 3 ( m o d 1 0 0 ) .
Good usage of 7 4 to simplify the work to be done.
Always there are common pattern that can be observed while writing the answer for the exponent series of 7. The common last 2 digits were found as 43. hence the answer is 43
2 lines of Ruby
a=(1..7).to a.permutation.to a.map(&:join).map(&:to_i)
puts a.select{|l|l % 5 != 0}.sort[1999]
Problem Loading...
Note Loading...
Set Loading...
By using Fermat's little theorem and the prime factorisation of 100: 7 4 ≡ 1 ( m o d 5 ) ⇒ 7 4 ≡ 1 ( m o d 1 0 0 ) ⇒ 7 7 ≡ 7 3 ( m o d 1 0 0 ) So this means that: 7 7 7 7 7 7 7 ≡ 7 3 3 3 3 3 3 ( m o d 1 0 0 ) Earlier we saw that the exponents produce the same remainder on division of 100 , in cycles of 4 so we need to evaluate: 3 3 3 3 3 3 ( m o d 4 ) Now by testing powers of 3 we can see that: 3 3 ≡ 3 ( m o d 4 ) ∴ 7 3 3 3 3 3 3 ≡ 7 3 = 3 4 3 ≡ 4 3 ( m o d 1 0 0 ) Hence the answer is 4 3 .