3 3 7 m o d 1 1 1 = ?
What's the remainder when 3 3 7 is divided by 1 1 1 ?
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.
Thats the kind of Brilliant solution!!!
I really loved the problem. At first it seemed beyond me as Euler's totient theorem and FLT does not work as 111 is divisible by 3 and 111 is not prime. I then realized the fact that 111 was 3*37. I love the fact where you made us use the prime factorization of 111 and this led to FLT.
Since by Fermat's Little Theorem, 3 3 7 ≡ 3 ( m o d 3 7 ) , automatically 3 3 7 ≡ 3 ( m o d 1 1 1 ) since 1 1 1 = 3 7 × 3 .
Problem Loading...
Note Loading...
Set Loading...
Note that, 3 3 7 m o d 1 1 1 = ( 3 × 3 3 6 ) m o d ( 3 × 3 7 )
From Fermat's Little Theorem , we know that, a p − 1 ≡ 1 ( m o d p ) , where p is a prime number, a is any arbitrary positive integer and a & p are coprime.
As, 3 7 is prime we get, 3 3 6 m o d 3 7 ≡ 1 ( m o d 3 7 )
Thus, 3 3 7 m o d 1 1 1 = 3 × 1 = 3