For which positive integers a, b does (xa + ... + x + 1) divide (xab + xab-b + ... + x2b + xb + 1)?
Solution
Answer: a+1 and b relatively prime.
The question is when (xa+1 - 1)/(x - 1) divides (xb(a+1) - 1)/(xb - 1) or when (xa+1 - 1)(xb - 1) divides (xb(a+1) - 1)(x - 1). Now both (xa+1 - 1) and (xb - 1) divide (xb(a+1) - 1). They both have a factor (x - 1), so if that is their only common factor, then their product divides (xb(a+1) - 1)(x - 1). That is true if a+1 and b are relatively prime, for the roots of xk - 1 are the kth roots of 1. Thus if a+1 and b are relatively prime, then the only (complex) number which is an (a+1)th root of 1 and a bth root of 1 is 1.
But suppose d is a common factor of a+1 and b, then exp(2πi/d) is a root of both xa+1 - 1 and xb - 1. It is a root of xb(a+1) - 1, but only with multiplicity 1, so (xa+1 - 1)(xb - 1) does not divide (xb(a+1) - 1)(x - 1).
© John Scholes
jscholes@kalva.demon.co.uk
11 May 2002