Helping A Power Of 2 Reach A Power Of 3

3 x = 2 x y + 1 { 3 }^{ x } = { 2 }^{ x }y + 1

How many pairs of positive integers ( x , y ) (x, y) satisfy the equation above?


The answer is 3.

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.

3 solutions

Sharky Kesa
Nov 12, 2017

By Lifting The Exponent, we have 3 x 1 x = 2 x y ν 2 ( 3 x 1 ) x ν 2 ( 3 1 ) + ν 2 ( x ) + ν 2 ( 3 + 1 ) 1 x ν 2 ( x ) x 2 x 2 x 2 \begin{aligned} 3^x - 1^x &= 2^xy\\ \nu_2(3^x - 1) &\geq x\\ \nu_2(3-1)+\nu_2(x)+\nu_2(3+1)-1 &\geq x\\ \nu_2(x) &\geq x-2\\ x &\geq 2^{x-2} \end{aligned} Note that x 5 , x < 2 x 2 \forall x \geq 5, x<2^{x-2} . Thus, we merely check x = 1 , 2 , 3 , 4 x=1,2,3,4 , finding only x = 1 , 2 , 4 x=1, 2, 4 satisfy, yielding y = 1 , 2 , 5 y=1,2,5 . Therefore, there are 3 pairs satisfying.

Exactly what I did :)

Vikram Sarkar - 1 year, 1 month ago

It seems to me that the second passage is not true. For example, 3^3-1 = 26, and the maximum exponent of 2 is 1, which is minor than 3. Can someone tell me if I am wrong?

Dave Venturini - 10 months, 1 week ago

Log in to reply

It isn't an assertion, it's an implication. The initial equation implies the second line.

Sharky Kesa - 10 months, 1 week ago

Log in to reply

Oh, ok thank you!

Dave Venturini - 10 months, 1 week ago
Patrick Corn
Jan 25, 2016

We are looking for x x such that 2 x ( 3 x 1 ) 2^x | (3^x-1) . Here is a lemma:

Lemma: Let x = 2 a b x = 2^a b , where b b is odd. If x x is odd (so a = 0 a = 0 ), the highest power of 2 2 dividing 3 x 1 3^x-1 is 2 1 2^1 . If x x is even ( a 1 a \ge 1 ), the highest power of 2 2 dividing 3 x 1 3^x-1 is 2 a + 2 2^{a+2} .

Proof: This is easy when a = 0 a = 0 , since 3 x 1 2 3^x-1 \equiv 2 mod 4 4 . Now write 3 x 1 = ( 3 x / 2 1 ) ( 3 x / 2 + 1 ) 3^x-1 = (3^{x/2}-1)(3^{x/2}+1) When a = 1 a = 1 , the first factor is 2 2 mod 4 4 and the second factor is 4 4 mod 8 8 . So the highest power of 2 2 dividing 3 x 1 3^x-1 is 2 3 2^3 . When a a is larger, we can use induction; the highest power of 2 2 dividing the first factor is 2 a + 1 2^{a+1} , and the second factor is 2 2 mod 4 4 , because x / 2 x/2 is even. So the highest power of 2 2 dividing the product is 2 a + 1 2 1 = 2 a + 2 2^{a+1} \cdot 2^1 = 2^{a+2} . This proves the lemma. \square

So we are looking for x x such that x 1 x \le 1 if x x is odd, and x = 2 a b a + 2 x=2^a b \le a+2 when a a is even. Clearly x = 1 x = 1 is the only odd solution, and otherwise we have 2 a 2 a b a + 2 2^a \le 2^a b \le a+2 . The graphs of y = 2 x y=2^x and y = x + 2 y = x+2 intersect at ( 2 , 4 ) (2,4) , and the slope of y = 2 x y = 2^x is greater than the slope of y = x + 2 y=x+2 (which is 1 1 ) for x 1 x \ge 1 (calculus exercise!), so for a > 2 a > 2 , 2 a > a + 2 2^a > a+2 . So we can exclude a > 2 a > 2 . For a = 1 a = 1 we get 2 b 3 2b \le 3 so b = 1 b = 1 , and for a = 2 a =2 we get 4 b 4 4b \le 4 so b = 1 b = 1 . So the only solutions are x = 1 , 2 , 4 x=1,2,4 . The answer is 3 \fbox{3} .

Thanks a lot for solution. I wanted that.

I like solutions involving lemmas.

If it would be possible then I would have up voted the solution infinitely many times.

Priyanshu Mishra - 5 years, 4 months ago

Log in to reply

The lemma can be extended to what's called the Lifting The Exponent lemma(LTE). You may google it if you wish to learn more.

Xuming Liang - 5 years, 4 months ago

This is the exponent lifting lemma

Racchit Jain - 5 years, 4 months ago

Dang, I thought of real numbers so I answered 4. 0 works too!

Armain Labeeb - 4 years, 11 months ago
Priyanshu Mishra
Jan 25, 2016

Rewrite the equation as

3 x 1 = 2 x y \large\ { 3 }^{ x } - 1 = { 2 }^{ x }y .

We can now infer that x x cannot exceed the exponent of 2 2 in the prime factorization of 3 x 1 { 3 }^{ x } - 1 . Let us estimate how large the exponent is. Note that modulo 4 4 the number 3 n 1 { 3 }^{ n } - 1 is congruent to 2 2 if n n is odd and to 0 0 if n n is even. This observation shows that it is worth factoring x x as 2 m ( 2 n + 1 ) { 2 }^{ m }(2n + 1) , with m m and n n non-negative integers. We can then write

3 x 1 = 3 2 m ( 2 n + 1 ) 1 = ( 3 2 n + 1 ) 2 m 1 = ( 3 2 n + 1 1 ) ( 3 2 n + 1 1 ) k = 1 m 1 ( ( 3 2 n + 1 ) 2 k + 1 ) \large\ { 3 }^{ { x } } - 1 = { 3 }^{ { 2 }^{ m }(2n+1) } - 1 = { ({ 3 }^{ 2n+1 })^{ { 2 }^{ m } } - 1 = ({ 3 }^{ 2n+1 } - 1)({ 3 }^{ 2n+1 } - 1)\prod _{ k = 1 }^{ m - 1 }{ \left( \left( { 3 }^{ 2n + 1 } \right) ^{ 2k } + 1 \right) } } .

Taken modulo 8 8 , the first two factors are 2 2 , respectively 4 4 . Hence they contribute a factor of 2 3 { 2 }^{ 3 } to the product 3 x 1 { 3 }^{ x } - 1 . Each of the factor contributes a factor of 2 2 . Consequently, the exponent of 2 2 in 3 x 1 { 3 }^{ x } - 1 is m + 2 m + 2 . We obtain the inequality x m + 2 x \le m + 2 , which translates to

2 m ( 2 n + 1 ) ( m + 2 ) { 2 }^{ m }({ 2 }^{ n } + 1) \le (m + 2) .

In particular, 2 m m + 2 { 2 }^{ m } \le m + 2 , which restricts us to m = 0 , 1 , 2 m = 0, 1, 2 . An easy check yields the solutions to the original equation ( x , y ) = ( 1 , 1 ) ; ( 2 , 2 ) ; ( 4 , 5 ) (x, y) = (1, 1) ; (2, 2) ; (4, 5) . In total, there are 3 \boxed{3} positive pairs.

How did you find your solutions?

Anupam Nayak - 5 years, 4 months ago

Log in to reply

I will post my solution within 1 week.

Priyanshu Mishra - 5 years, 4 months ago

I have posted my solution. Please rate it.

Priyanshu Mishra - 5 years, 4 months ago

Any method to find the solution pairs?

Krishna Ramesh - 5 years, 4 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...