Solving a linear Diophantine equation
Find all integer pairs satisfying . Every solution can be written as and for an arbitrary integer , where are the integers obtained when is taken to be its smallest positive value. What is ?
Show hints (2)+
- Reduce the equation modulo 3 to isolate a condition on alone.
- You get ; take the smallest positive as , then solve for .
Answer
Reveal answer →Final answer
3331
Create a free account to see the full worked solution and track your progress.
Interview format: Market Maker, Hedge Fund Quant