- #1
littlemathquark
- 35
- 9
- Homework Statement
- Question about number theory
- Relevant Equations
- Solve ##2^x=3^y+509## over positive integers.
My attempt and solution :
$$2^x=3^y+509\Longrightarrow 2^x-512=3^y+509-512\Longrightarrow 2^x-2^9=3^y-3$$
$$\Longrightarrow 2^9(2^{x-9}-1)=3(3^{y-1}-1)$$
$$\Longrightarrow (x,~y)=\boxed{(9,~1)}$$
İs there any solution?
$$2^x=3^y+509\Longrightarrow 2^x-512=3^y+509-512\Longrightarrow 2^x-2^9=3^y-3$$
$$\Longrightarrow 2^9(2^{x-9}-1)=3(3^{y-1}-1)$$
$$\Longrightarrow (x,~y)=\boxed{(9,~1)}$$
İs there any solution?
Last edited by a moderator: