My answer from deleted question. I found the method at
Exponential Diophantine equation $7^y + 2 = 3^x$ by Gyumin Roh in 2015
$$ \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc $$
Let us start with the easy case. We believe the biggest integer solution to $ 3^u +1 = 2^v $ is $3+1 = 4,$ or $u=1,v=2.$ Begin with the $ 3^u +1 = 2^v $ and subtract $4$ from both sides, reaching
$$3^u - 3 = 2^v - 4$$ with $u,v >0$ so $v \geq 2.$ Thus
$$ 3(3^x -1) = 4 (2^y - 1) $$
where $x=u-1, y= v-2.$ We get equality if both $x,y$ are zero, and we think those are the biggest $x,y$ values that work.
Next, assume we have a solution with both $x,y > 0.$ This one is quick: since $4|(3^x - 1)$ we see that $x$ must be even. However, as soon as $x$ is even we find $3^x \equiv 1 \pmod 8$ and $8|(3^x - 1).$ This gives a contradiciton since $8 | 4(2^y - 1),$ then $2| 2^y - 1,$ contradicting the assumption that $y \neq 0$
$$ \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc $$
This case is more work:
We have
$$ 3^u = 2^v + 1. $$ Subtract $9$ from both sides, we have
$$ 3^u - 9 = 2^v - 8. $$
Taking $u = x + 2$ and $v = 3 + y$ gives $9 \cdot 3^x - 9 = 8 \cdot 2^y - 8,$ or
$$ 9 (3^x - 1 ) = 8 (2^y - 1). $$ We think this is only possible with $x=y=0,$ so we assume there is a solution with $x,y > 0$ and get a contradiction.
First we have $9 |(2^y - 1),$ or $$ 2^y \equiv 1 \pmod 9.$$ This tells us that $ 6 | y. $ Meanwhile
$$ 2^6 - 1 = 63 = 3^2 \cdot 7. $$ Therefore $7 | (3^x - 1).$ In turn, we find $6 | x.$
Next
$$ 3^6 - 1 = 728 = 2^3 \cdot 7 \cdot 13. $$ Therefore $13 | (2^y - 1).$ In turn, we find $12 | y.$
Next
$$ 2^{12} - 1 = 4095 = 3^2 \cdot 5 \cdot 7 \cdot 13. $$ Therefore $5 | (3^x - 1).$ In turn, we find $4 | x.$
Finally, $3^x - 1$ is divisible by $3^4 - 1 = 80.$ In particular,
$3^x - 1$ is divisible by $2^4 = 16.$ However, this contradicts $2^y - 1 \neq 0$ and $y > 0.$
$$ \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc \bigcirc $$
So if you supply this as an answer, I"ll mark it as such. I'll do the 'exercise for the reader' myself (that is, I'll add it as a comment for any future readers).
– Jeroen Jul 07 '23 at 18:32