What is the remainder when 3 9 9 9 9 is divided by 7?
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.
Please elaborate it a little more. Too perplexing!
Log in to reply
I edited it to add more detail.
Log in to reply
Why did you only took it as 6k+a?
Log in to reply
@Priti Gupta – This is because I know that in congruences mod 7, something raised to the 6th power just evaluates to 1. This allows you to establish the congruence x 6 k + a ≡ x 6 k x a ≡ ( x k ) 6 x a ≡ x a m o d 7 . This way you reduce the exponent in hopes of achieving an easier computation.
Problem Loading...
Note Loading...
Set Loading...
Let's suppose that 9 9 9 9 = 6 k + a for some k , a ∈ N . Then 3 9 9 9 9 ≡ 3 6 k + a ≡ ( 3 k ) 6 × 3 a ≡ 3 a m o d 7 . This last congruence is given to us by Fermat's little theorem. So we want to find an a such that 9 9 9 9 = 6 k + a . But this is just finding an a such that 9 9 9 9 ≡ a m o d 6 . Computing this is not trivial but if we apply the Chinese Remainder Theorem, we would just need to compute 9 9 9 9 m o d 2 and 9 9 9 9 m o d 3 .
On one hand, 9 9 9 9 ≡ 0 m o d 3 . This is trivial because 3 already divides 9 9 . And it is also obvious that 9 9 9 9 ≡ 1 m o d 2 because it is odd. So we have a ≡ 0 m o d 3 and a ≡ 1 m o d 2 . Using the Chinese Remainder Theorem we find that this means a ≡ 3 m o d 6 . And for convenience we may pick the smallest value, a = 3 .
Substituting this into our original computation, 3 9 9 9 9 ≡ 3 3 ≡ 2 7 ≡ 6 m o d 7 .