Solve over the positive integers:
$$7^x+18=19^y.$$
Progress:-
I first took $\mod 7,$ so we get $5^y\equiv 4 \mod 7$ since $5$ is a primitive root of $7$ and $5^2\equiv 4\mod 7.$ So we get $y\equiv 2\mod 6.$
And then took $\mod 9$
So we get $7^x\equiv 1\mod 9.$ Since residues of $7^x$ are $\{7,9,1\}.$
We get $x\equiv 0\mod 3.$
Then I couldn't get any progress, I tried Zsigmondy,etc stuff and also noticed $7^x-1=19(19^{y-1}-1)$
Any hints? Thanks in advance.
Best Answer
we suspect that $343 + 18 = 361$ is the largest solution. Assume we have a larger solution, I write that as $$ 7^3 (7^x-1) = 19^2 (19^y - 1) $$ with assumed $x,y \geq 1.$ Note that these are shifted from the $x,y$ values in the question.
String of calculations with simple conclusions about $x,y$
$ 19 | 7^x-1$ so $3|x$
$ 7 | 19^y - 1$ so $6|y$
calculate $8 | 19^6-1,$ so that $8 | 7^x - 1$
$8 | 7^x - 1,$ so that $2|x,$ cumulative $6|x$
calculate $43| 7^6 - 1 ,$ so that $43|19^y - 1$
$43|19^y - 1,$ so that $42|y$
calculate $7^4 | 19^{42} - 1$
However, with $x,y > 0,$ this tells us that $$ 7^4 | 7^3 (7^x-1) $$ As $7^x-1 \neq 0$ we see that $7^x-1$ is not divisible by $7,$ and so $ 7^4 | 7^3 (7^x-1) $ is a CONTRADICTION
next day: I was asked about the business with $19^y \pmod {43}.$ Notice how $19^{21} \equiv 42 \equiv -1 \pmod{43}, $ a square root of $1.$ Next, $19^{14} \equiv 36 \pmod{43} $ and $19^{28} \equiv 6 \pmod{43} ,$ while $6^3 = 216 \equiv 1 \pmod{43}, $ giving $6^3 \equiv 36^3 \equiv 1 \pmod{43} $