Let f(x)=x2+x+1. Determine, with proof, all positive integers n such that f(k) divides f(n) whenever k is a positive divisor of n.
A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.
Solution
Answer: n can be 1, a prime that is 1mod3, or the square of any prime except 3. Solution: The answer is n can be 1, a prime that is 1mod3, or the square of any prime except 3. It is easy to verify that all of these work. First note that n must be 1mod3 since 1 divides n implies f(1) divides f(n). Next, suppose for sake of contradiction that n=ab, with a>b>1. We are given that f(a) divides f(n), which means f(a) divides f(n)−f(a). We can write this as a2+a+1∣n2+n−a2−a=(n−a)(n+a+1) Since we are working moda2+a+1, we can replace a+1 with −a2, so we have a2+a+1∣(n−a)(n−a2)=a2(b−1)(b−a) However, a2+a+1 cannot share any factors with a, and 0<∣(b−1)(b−a)∣<a2+a+1, which is a contradiction.
Want a route through all this instead of an archive? The track
puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.
Source: Omni-MATH,
licensed Apache-2.0.
Statement reproduced verbatim; metadata (topic, difficulty) added by this project.