2

Find all solutions to the diophantine equation $7^x=3^y+4$ in positive integers. I couldn't have much progress.

Clearly $(x,y)=(1,1)$ is a solution. And there's no solution for $y=2$.

Assume $y \ge 3$ and $x \ge 1$.

By $\mod 9$, we get $7^x \equiv 4\mod 9 \implies x \equiv 2 \mod 3 $.

By $\mod 7$,we get $y \equiv 1 \mod 6$.

I also tried $\mod 2$ but it didn't work.

Please post hints ( not a solution). Thanks in advance!

J. W. Tanner
  • 60,406
Sunaina Pati
  • 4,115
  • Well, one easily eliminated case: if $x=2k$ were even then $7^{2k}-4=(7^k-2)(7^k+2)$ so... – lulu Nov 13 '20 at 01:11
  • 1
    General remark: since there is a solution, namely $(1,1)$, congruences alone won't get it done, though of course you can use congruences to eliminate a lot of cases. – lulu Nov 13 '20 at 01:13
  • 1
    @lulu there is a method that usually wors with small numbers http://math.stackexchange.com/questions/1941354/elementary-solution-of-exponential-diophantine-equation-2x-3y-7/1942409#1942409 and many others – Will Jagy Nov 13 '20 at 01:22
  • 1
    @SunainaPati FYI, your equation is $7^x - 3^y = 4$. For $x, y \gt 1$, the table in the Generalization section of Wikipedia's "Catalan's conjecture" article shows for a difference of $4$, there are only $3$ solutions with perfect powers less than $10^{18}$. These are $8 - 4 = 2^3 - 2^2$, $36 - 32 = 6^2 - 2^5$ and $125 - 121 = 5^3 - 11^2$. Thus, there's no solution for powers of $7$ and $3$ within that range, implying (but not proving) there are no other solutions than the $(1,1)$ one you've already found. – John Omielan Nov 13 '20 at 01:22
  • @WillJagy Ah, thank you. I have seen such things before, and was trying to reconstruct the method. Glad to have the reference. – lulu Nov 13 '20 at 01:23
  • 1
    @SunainaPata Also note later in that article, Pillai's conjecture states "... each positive integer occurs only finitely many times as a difference of perfect powers ...". – John Omielan Nov 13 '20 at 01:24
  • @lulu I have a file of url's at home, pasted a bunch of examples into a CW answer – Will Jagy Nov 13 '20 at 01:27
  • @JohnOmielan there is a successful method, see links in my CW answer – Will Jagy Nov 13 '20 at 01:28
  • 1
    @WillJagy Thanks for your feedback. I was just reading your answer for this specific equation when you commented. – John Omielan Nov 13 '20 at 01:29
  • @JohnOmielan good point, I was not sure I did this particular one. – Will Jagy Nov 13 '20 at 01:46

2 Answers2

4

It's $3(3^a-1)=7(7^b-1)$ with $a=x-1$ and $b=y-1$.

Therefore $7\mid3^a-1$, so $a$ is a multiple of (what?).

Therefore, $3^a-1$ is a multiple of $13$.

Therefore, $7^b-1$ is a multiple of $13$.

Therefore, $b$ is a multiple of (what?).

Therefore, $7^b-1$ is a multiple of $9$.

Therefore, $3(3^a-1)$ is a multiple of $9$.

Therefore, $a$ is (what?).

Therefore, $x$ is (what?).

J. W. Tanner
  • 60,406