Using a theorem on linear forms in logarithms, we show that the equation p x −2 y = p u −2 v has no solutions ( p, x, y, u, v) with x≠ u, where p is a positive prime and x, y, u, and v are positive integers, except for four specific cases, or unless p is a Wieferich prime greater than 10 15. More generally, we obtain a similar result for p x − q y = p u − q v >0 where q is a positive prime, q≢1 mod 12 . We solve a question of Edgar showing there is at most one solution ( x, y) to p x − q y =2 h for positive primes p and q and positive integer h. Finally, we use elementary methods to show that, with a few explicitly listed exceptions, there are at most two solutions ( x, y) to | p x ± q y |= c and at most two solutions ( x, y, z) to p x ± q y ±2 z =0, for given positive primes p and q and integer c.
Read full abstract