Dynamic Diophantine!

Level 2

Find the number of ordered pairs ( x , y ) Z 2 (x,y)\in\mathbb{Z}^2 that satisfies the following equation:

x y + 9 ( x + y ) = 2006 xy+9(x+y)=2006


The answer is 4.

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.

2 solutions

Jubayer Nirjhor
Jan 6, 2014

x y + 9 ( x + y ) = 2006 9 x + x y + 9 y + 81 = 2006 + 81 ( x + 9 ) ( y + 9 ) = 2087 [ 2087 is a prime ] = 1 × 2087 = 2087 × 1 = ( 1 ) × ( 2087 ) = ( 2087 ) × ( 1 ) \begin{aligned} &~ &xy+9(x+y)&=&2006 \\ \\ &\Longrightarrow ~~~ &9x+xy+9y+81~~~&=~&2006+81 \\ \\ &\Longrightarrow ~~~ &(x+9)(y+9)~~~&=~&2087 ~~~~~~~[2087~\text{is a prime}] \\ \\ &~&~&=&1\times 2087 \\ \\ &~&~&=&2087\times 1 \\ \\ &~&~&=&(-1)\times (-2087) \\ \\ &~&~&=&(-2087)\times (-1) \\ \\ \end{aligned}

( x , y ) { ( 8 , 2078 ) , ( 2078 , 8 ) , ( 10 , 2096 ) , ( 2096 , 10 ) } \therefore ~~~ (x,y)\in \left\{(-8,2078),(2078,-8),(-10,-2096),(-2096,-10)\right\}

Total: 4 pairs! \text{Total:}~~~\fbox{4}~\text{pairs!}

Hmm. But your solution might not be smart enough if the number had many divisors, and you may not be always be able to use Simon's favorite factoring tactic(SFFT) like this. My approach is the general one to handle cases like this. :)

not real - 7 years, 4 months ago

Log in to reply

It's wiser to use divisor theorem. 2087 2087 is a prime so I didn't find it important to explain further. :)

Jubayer Nirjhor - 7 years, 4 months ago
Not Real
Jan 18, 2014

We can re-write the equation as x ( y + 9 ) = 2006 9 y x(y+9)=2006-9y This gives us y + 9 2006 9 y y+9|2006-9y but since y + 9 9 y + 81 y+9|9y+81 , subtracting we have y + 9 9 y + 81 + 2006 9 y = 2087 y+9|9y+81+2006-9y=2087 . So every divisor of 2087 2087 associates with a corresponding y y , regardless of negative or positive. Since 2087 2087 is a prime number, 2087 2087 has a total of 4 divisors(negative and positive).

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...