( m 1 9 8 7 − m + 1 9 8 7 ) m 1 9 8 7 − m + 1 9 8 7 = ( n 7 8 9 1 − n + 7 8 9 1 ) n 7 8 9 1 − n + 7 8 9 1
Find the number of solutions to the Diophantine equation above?
Hint: Work in modular arithmetic using a small mod.
Details and Assumptions
If there are infinitely many solutions, input − 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.
Why did you specifically choose mod 7 ?
As pointed out by Calvin Lin, if LHS is a a and RHS b b (as in the Diophantine) then a = b . Then, proceed with parity.
Problem Loading...
Note Loading...
Set Loading...
We work in mod 7 to show that there are no solutions.
We know φ ( 7 ) = 6 . Hence, taking mod 7 on both sides' bases,
m 1 9 8 7 − m + 1 9 8 7 ≡ m c 1 φ ( 7 ) + 1 − m + 7 c 2 − 1 ≡ − 1 ( m o d 7 )
n 7 8 9 1 − n + 7 8 9 1 ≡ n c 3 φ ( 7 ) + 1 − n + 7 c 4 + 2 ≡ 2 ( m o d 7 )
The index of the LHS is always odd; as for the RHS, 2 k ≡ 1 , 2 , 4 ( m o d 7 ) for all k ∈ N , so LHS will never be congruent to RHS.
Hence, there are 0 solutions to the Diophantine equation.