b > 1 and m > n. Show that if bm - 1 and bn - 1 have the same prime divisors then b + 1 is a power of 2. [For example, 7 - 1 = 2.3, 72 - 1 = 24.3.]
Solution
Many thanks to Kamil Duszenko for the following solution
Consider first the case n = 1. So suppose first that a - 1 and am - 1 have the same prime divisors. If a prime p divides m, then a - 1 divides ap - 1, and ap - 1 divides am - 1, so a - 1 and ap - 1 have the same prime divisors. But ap - 1 = (a - 1) L, where L = ap-1 + ap-2 + ... + a + 1. So if a prime q divides L, then it must divide ap - 1 and hence a - 1. But L = (a - 1) (ap-2 + 2 ap-3 + ... + p-1) + p, so any prime q dividing L and a - 1 must also divide p. So L must be a power of p, m must be a power of p, and p must divide a - 1. In other words, a = 1 mod p. Hence (ap-2 + 2 ap-3 + ... + p-1) = 1 + 2 + ... + p-1 = p(p-1)/2 mod p. But if p > 2, p(p-1)/2 = 0 mod p, so L = p2 + p mod p2. But L is a power of p, so L = p. Contradiction, since L is obviously > p (or p > 2). Hence p must be 2. Hence L = a + 1, and a + 1 is a power of 2.
Now take the general case. Suppose d is the greatest common divisor of m and n. Put m = dM, n = dN and a = bd, so that aM - 1 and aN - 1 have the same prime divisors, and M, N are relatively prime. Take positive integers h, k such that hM - kN = 1, then (ahM - 1) - (akN - 1) = ahM - akN = akN(a - 1). So if s > 1 divides aM - 1 and aN - 1, then it also divides ahM - 1 and akN - 1 and hence also akN(a - 1). It cannot divide akN, so it must divide a - 1. So the greatest common divisor of aM - 1 and aN - 1 must divide a - 1. But a - 1 divides both, so the greatest common divisor is a - 1. So a - 1 must also have the same prime divisors as aM - 1. It follows from the special case that a + 1 = bd + 1 is a power of 2. Since b > 1, bd + 1 > 2, so bd + 1 is certainly divisible by 4. If d is even, then oddd = 1 mod 4 and evend = 0 mod 4, so bd + 1 = 2 or 1 mod 4. Hence d must be odd. Hence b + 1 divides bd + 1, so b + 1 is also a power of 2.
© John Scholes
jscholes@kalva.demon.co.uk
7 July 2003
Last corrected/updated 7 Jul 2003