Olympiad Maths Prep

Track / Stage 7 / 234 of 300 #1634 of 2000

Problem 1634

National olympiad second round; IMO P1/P4
Number theory Difficulty 7.5 Find the answer

ω\omega is a complex number such that ω2013=1\omega^{2013} = 1 and ωm1\omega^m \neq 1 for m=1,2,,2012m=1,2,\ldots,2012. Find the number of ordered pairs of integers (a,b)(a,b) with 1a,b20131 \le a, b \le 2013 such that (1+ω++ωa)(1+ω++ωb)3 \frac{(1 + \omega + \cdots + \omega^a)(1 + \omega + \cdots + \omega^b)}{3} is the root of some polynomial with integer coefficients and leading coefficient 11. (Such complex numbers are called [i]algebraic integers[/i].)

[i]Victor Wang[/i]

Official solution

1. Understanding the Problem:
We are given a complex number ω\omega such that ω2013=1\omega^{2013} = 1 and ωm1\omega^m \neq 1 for m=1,2,,2012m = 1, 2, \ldots, 2012. This means ω\omega is a primitive 2013th root of unity. We need to find the number of ordered pairs (a,b)(a, b) with 1a,b20131 \le a, b \le 2013 such that
(1+ω++ωa)(1+ω++ωb)3 \frac{(1 + \omega + \cdots + \omega^a)(1 + \omega + \cdots + \omega^b)}{3}
is an algebraic integer.

2. Cyclotomic Polynomials:
The sum 1+ω++ωa1 + \omega + \cdots + \omega^a can be simplified using the formula for the sum of a geometric series:
1+ω++ωa=1ωa+11ω 1 + \omega + \cdots + \omega^a = \frac{1 - \omega^{a+1}}{1 - \omega}
Since ω\omega is a primitive 2013th root of unity, 1ω1 - \omega is a unit in Z[ω]\mathbb{Z}[\omega].

3. Algebraic Integers:
A complex number is an algebraic integer if it is a root of some monic polynomial with integer coefficients. We need to determine when
(1ωa+1)(1ωb+1)3(1ω)2 \frac{(1 - \omega^{a+1})(1 - \omega^{b+1})}{3(1 - \omega)^2}
is an algebraic integer.

4. Automorphisms and Galois Theory:
Let fkf_k denote the automorphism that sends ω\omega to ωk\omega^k where gcd(k,2013)=1\gcd(k, 2013) = 1. The number t=(1ωa+1)(1ωb+1)3t = \frac{(1 - \omega^{a+1})(1 - \omega^{b+1})}{3} must be an algebraic integer. By considering the field Q[ω]\mathbb{Q}[\omega], we know that fk(t)f_k(t) is also an algebraic integer.

5. **Units in Z[ω]\mathbb{Z}[\omega]:**
Since 1ω1 - \omega is a unit in Z[ω]\mathbb{Z}[\omega], multiplying by it does not change the property of being an algebraic integer. Thus, tt is an algebraic integer if and only if
(1ωa+1)(1ωb+1)3 \frac{(1 - \omega^{a+1})(1 - \omega^{b+1})}{3}
is an algebraic integer.

6. Cyclotomic Polynomial Evaluation:
We use the fact that
kSfk(1ωa+1)=Φn(1)φ(2013)/φ(n) \prod_{k \in S} f_k(1 - \omega^{a+1}) = \Phi_{n}(1)^{\varphi(2013)/\varphi(n)}
where n=2013gcd(2013,a+1)n = \frac{2013}{\gcd(2013, a+1)}. By the lemma, Φn(1)=1\Phi_n(1) = 1 if nn is not a prime power, and Φn(1)=p\Phi_n(1) = p if nn is a prime power pp.

7. Condition for Algebraic Integer:
The expression
Φn(1)φ(2013)/φ(n)Φn(1)φ(2013)/φ(n)31200 \frac{\Phi_{n}(1)^{\varphi(2013)/\varphi(n)} \cdot \Phi_{n'}(1)^{\varphi(2013)/\varphi(n')}}{3^{1200}}
is integral if and only if 2013gcd(a+1,2013)=2013gcd(b+1,2013)=3\frac{2013}{\gcd(a+1, 2013)} = \frac{2013}{\gcd(b+1, 2013)} = 3 or one of the gcd's is 2013.

8. Counting Valid Pairs:
For 2013gcd(a+1,2013)=3\frac{2013}{\gcd(a+1, 2013)} = 3, gcd(a+1,2013)=671\gcd(a+1, 2013) = 671. There are φ(3)=2\varphi(3) = 2 such values for a+1a+1 and similarly for b+1b+1. Thus, there are 2×2=42 \times 2 = 4 pairs (a,b)(a, b).

For one of the gcd's being 2013, there are 20132013 choices for aa and 22 choices for bb, giving 2013×2=40262013 \times 2 = 4026 pairs. Adding the cases where both gcd's are 2013, we get 2013×21+2×2=40292013 \times 2 - 1 + 2 \times 2 = 4029.

The final answer is 4029\boxed{4029}.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.