COMC2024-unofficial-solutions
COMC2024-unofficial-solutions
COMC2024-unofficial-solutions
A. Short answer questions worth 4 marks each. A correct answer receives full marks. Par-
tial marks may be awarded for work shown if a correct answer is not provided.
B. Short answer questions worth 6 marks each. A correct answer receives full marks. Par-
tial marks may be awarded for work shown if a correct answer is not provided.
1
Section A
A1 Two locations A and B are connected by a 5-mile trail which features a lookout C. A
group of 15 hikers started at A and walked along the trail to C. Another group of 10
hikers started at B and walked along the trail to C. The total distance travelled to C
by all hikers from the group that started in A was equal to the total distance travelled
to C by all hikers from the group that started in B. Find the distance (in miles) from
A to C along the trail.
Solution: Let the distance from A to C be x. Then the distance from B to C is 5 − x.
The total distance travelled to C by all hikers from the group that started in A is
15x. The total distance travelled to C by all hikers from the group that started in B is
10(5 − x). We need 15x = 10(5 − x). Then 25x = 50, so x = 2.
Answer: 2 .
A2 Alice and Bob are running around a rectangular building measuring 100 by 200 meters.
They start at the middle of a 200 meter side and run in the same direction, Alice running
twice as fast as Bob. After Bob runs one lap around the building, what fraction of the
time were Alice and Bob on the same side of the building?
Solution: The perimeter of the building is 600 m. When Alice completes the first 100
m to the corner, Bob completes his first 50 m. During this time they are running on
the same side of the building. A similar situation will occur in the end when Alice runs
last 100 m of her second lap and Bob runs his last 50 m. We have 50+50 600
= 16 .
1
Answer: 6
.
A3 Colleen has three shirts: red, green, and blue; three skirts: red, green, and grey; three
scarves: red, blue, and grey; and three hats: green, blue, and grey. How many ways are
there for her to pick a shirt, a skirt, a scarf, and a hat, so that two of the four clothes
are one color and the other two are a different color?
Solution: We arrange the information in a table and observe that each pair of items
have two common colors.
shirts red green blue
skirts red green grey
scarves red blue grey
hats green blue grey
In order to satisfy the rule, for example, a shirt and a skirt could be either both red or
both green. At the same time a scarf and a hat could be either both blue or both grey.
There are 3 ways to choose the pairs that are the same color. For example, we can pair
a shirt with either a skirt, or a scarf or a hat; then remaining two items form another
pair.
2
Then there are two ways to pick a colour for the first pair and another two ways to
pick a color for the remaining pair. In total we have 3 × 2 × 2 = 12.
Answer: 12 .
0
2 4
6 8 10
12 14 16 18
20 22 24 26 28
The number in the middle of the third row is 8. What is the number in the middle of
the 101-st row?
Solution: We can observe the pattern by looking at the numbers in the middle of each
row with odd number.
0
2 4
6 8 10
12 14 16 18
20 22 24 26 28
30 32 34 36 38 40
42 44 46 48 50 52 54
They are 0, 8, 24, 48. The numbers are in the form n2 − 1, where n = 1, 3, 5, 7.
Alternatively, we notice the numbers in the beginning and in the end of each “odd”
row
row beginning end
1 0=1×0 0=0×3
3 6=3×2 10 = 2 × 5
5 20 = 5 × 4 28 = 4 × 7
7 42 = 7 × 6 54 = 6 × 9
n n × (n − 1) (n − 1) × (n + 2)
Thus, in the beginning of each row n we have a number in the form n(n − 1) = n2 − n,
while in the end of the same row we have a number (n − 1)(n + 2) = n2 + n − 2. The
number is the middle of a row n = 1, 3, 5, 7, . . . is an average of the two numbers in the
ends of this row. This way we obtain 12 (n2 − n + n2 + n − 2) = n2 − 1.
Now, if n = 101 then n2 − 1 = 10200.
Answer: 10, 200.
3
Section B
B1 For any positive integer number k, the factorial k! is defined as a product of all integers
between 1 and k inclusive: k! = k × (k − 1) × · · · × 1.
Let s(n) denote the sum of the first n factorials, i.e.
B2 David wanted to calculate the volume of a prism with an equilateral triangular base.
He was given the height of the prism H = 15 and the height of the base h = 6. He
accidentally swapped the values of H and h in his calculations. By what number should
he multiply his result to get the correct volume?
4
Solution: The volume of a prism is V = H × A, where H is the height of the prism
and A is the area of the base. The area of the triangular base is A = 21 ah, where a
is the length of a side of the triangle and h is corresponding height of the triangle.
Since the triangle is equilateral, all its sides are equal and all angles are 60◦ . Therefore,
a = 2h tan(30◦ ), and so A = h2 tan(30◦ ).
The correct formula for the volume is V = Hh2 tan(30◦ ). The mistaken answer is
V ′ = hH 2 tan(30◦ ). And their ratio is
V Hh2 tan(30◦ ) h 6 2
= = = = = 0.4
V′ hH 2 tan(30◦ ) H 15 5
Thus, David should multiply his result by 0.4 to get the correct volume.
Answer: 0.4 .
min(a, b) = 2
min(b, c) = 0
max(a, c) = 2
max(c, d) = 4
Here min(a, b) and max(a, b) denote respectively the minimum and the maximum of
two numbers a and b.
Determine the fifth smallest possible value for a + b + c + d.
Solution:
min(a, b) = 2 1
min(b, c) = 0 2
max(a, c) = 2 3
max(c, d) = 4 4
5
B4 Initially, the integer 80 is written on a blackboard. At each step, the integer x on the
blackboard is replaced with an integer chosen uniformly at random among [0, x − 1],
unless x = 0, in which case it is replaced by an integer chosen uniformly at random
among [0, 2024]. Let P (a, b) be the probability that after a steps, the integer on the
board is b. Determine
P (a, 80)
lim
a→∞ P (a, 2024)
P (a,80)
(that is, the value that the function P (a,2024)
approaches as a goes to infinity).
Solution 1:
If 0 is written on the board, then we choose one of the integers from the interval [0, 2024]
1
with probability 2025 .
If 1 is written on the board, then we choose 0 with probability 1.
If 2 is written on the board, then we choose one of the integers from the interval [0, 1]
with probability 21 .
If 3 is written on the board, then we choose one of the integers from the interval [0, 2]
with probability 31 .
If x > 0 is written on the board, then we choose one of the integers from the interval
[0, x − 1] with probability x1 .
Then we have
1
P (a, 2024) = P (a − 1, 0),
2025
1 1
P (a, 2023) = P (a − 1, 0) + P (a − 1, 2024),
2025 2024
1 1 1
P (a, 2022) = P (a − 1, 0) + P (a − 1, 2024) + P (a − 1, 2023),
2025 2024 2023
and in general
2024
1 X 1
P (a, b) = P (a − 1, 0) + P (a − 1, i).
2025 i=b+1
i
Now let’s define f (x) = lima→∞ P (a, x) = lima→∞ P (a − 1, x). Then, taking limits of
both sides of our equation, we get
2024
1 X 1
f (b) = f (0) + f (i).
2025 i=x+1
i
Consequently we obtain
f (0)
f (2024) = ,
2025
6
f (0) 1 f (0) 1 f (0)
f (2023) = + f (2024) = (1 + )= ,
2025 2024 2025 2024 2024
And then by induction we can show that
f (0)
f (x) = , 0 ≤ x ≤ 2024.
x+1
f (0)
Specifically, we assume that f (i) = i+1
for x < i ≤ 2024. Then
2024 2024
!
1 X 1 1 X 1 f (0)
f (x) = f (0) + f (i) = f (0) + =
2025 i=x+1
i 2025 i=x+1 i(i + 1) x+1
1 1 1
P2024 1 1 1
Here we used i(i+1)
= i
− i+1
, and by telescoping, i=x+1 i(i+1) = x+1
− 2025
.
So we get
f (80) 2025
= = 25.
f (2024) 81
Answer: 25 .
Solution 2:
We first prove the following fact for all 1 ≤ b ≤ 2024:
1
P (a, b − 1) = P (a, b) + P (a − 1, b).
b
Let Xa denote the random variable which equals the integer written on the board after
a steps. So, P (a, b) = Prob(Xa = b). (Here “Prob” stands for “probability”.) By the
total probability formula, since the integer written on the board after a − 1 steps is
either b or not b, we have
7
As well,
Then,
Prob(Xa = b|Xa−1 ̸= b) = Prob(Xa = b − 1|Xa−1 ̸= b).
Thus, subtracting equation (1) from equation (2), we obtain
1
P (a, b − 1) − P (a, b) = Prob(Xa−1 = b),
b
which is equivalent to P (a, b − 1) = P (a, b) + 1b P (a − 1, b).
Now let’s define f (b) = lima→∞ P (a, b). Then, taking limits of both sides of our equa-
tion, we get f (b−1) = b+1
b
f (b), and multiplying through, we get bf (b−1) = (b+1)f (b).
We thus see that
f (0) = 2f (1) = 3f (2) = · · · = (b + 1)f (b),
for all b ∈ [0, 2024]. In particular, 81f (80) = 2025f (2024), so the desired answer is
f (80)
f (2024)
= 2025
81
= 25.
Remark 1:
A part of the first solution can be expressed in the matrix form.
Consider a (2025×2025)-matrix M , where Mij is the probability to chose i = 0, 1, . . . 2024
given that j = 0, 1, . . . 2024 is written on the board. Then we have:
1 1 1 1 1 1
2025
1 2 3 4
. . . 2023 2024 P (a − 1, 0)
P (a, 0)
1 1 1 1 1 1
2025 0 2 3 4
. . . 2023 2024 P (a − 1, 1)
P (a, 1)
1 1 1 1 1
2025 0 0 3 4
. . . 2023 2024 P (a − 1, 2)
P (a, 2)
1 0 0 0 1
. . . 1 1
2024 P (a − 1, 3) = P (a, 3)
2025 4 2023
... ... ... ... ... ... ... ...
...
. . .
1 1
2025 0 0 0 0 . . . 0 2024
P (a − 1, 2023) P (a, 2023)
1
0 0 0 0 . . . 0 0
2025 P (a − 1, 2024) P (a, 2024)
8
Let f (x) = lima→∞ P (a, x) = lima→∞ P (a − 1, x), x = 0, 1, . . . , 2024. Then we obtain
1 1 1 1 1 1
2025
1 2 3 4
. . . 2023 2024 f (0)
f (0)
1 0 1 1 1
. . . 1 1
2024 f (1) f (1)
2025
2 3 4 2023
1 1 1 1 1
2025 0 0 3 4
. . . 2023 2024 f (2)
f (2)
1 1 1 1
2025 0 0 0 4
. . . 2023 2024 f (3) = f (3)
... ... ... ... ... ... ... ...
... ...
1 1
2025 0 0 0 0 . . . 0 2024
f (2023) f (2023)
1
2025
0 0 0 0 ... 0 0 f (2024) f (2024)
1
P2024 1
which is equivalent to f (b) = 2025
f (0) + i=x+1 i f (i) for 0 ≤ b ≤ 2024.
Remark 2: In our definition of f (b), we implicitly assumed that f (b) exists. We also
used the fact that the limit of the ratio is the ratio of the limits, if they exist.
For completeness, we present a proof of the existence of f (b) below. We start with the
recursion
2024
1 X 1
P (a, b) = P (a − 1, 0) + P (a − 1, i),
2025 i=b+1
i
and let Q(a, b) = (b + 1)P (a, b). Then, the recursion becomes
2024
!
Q(a − 1, 0) X Q(a − 1, i)
Q(a, b) = (b + 1) + .
2025 i=b+1
i(i + 1)
Let M (a) = max Q(a, i). Then the following inequality holds for any b:
0≤i≤2024
2024
!
1 X 1
Q(a, b) ≤ (b + 1) + M (a − 1) = M (a − 1)
2025 i=b+1 i(i + 1)
and so
M (a) ≤ M (a − 1).
Thus, M (a) is non-increasing as a → ∞, and hence approaches a limiting value M .
We now claim that for every i, we have lima→∞ Q(a, i) = M . Assume there is some
minimal index j without this property; then, there is some ε such that Q(a, j) < M − ε
for arbitarily large a. Also, assume that there is some N for which max Q(a, i) <
0≤i≤2024
M + ε/2100 for a > N . Then, for an index a > N with Q(a, i) < M − ε, we have
2024
!
Q(a, 0) X Q(a, i) ε
Q(a + 1, j − 1) = j + <M− .
2025 i=j
i(i + 1) 2j(j + 1)
9
This is true for arbitrary choice of a, so this contradicts the minimality of j, unless the
minimal index is 0. Finally, in the case that lima→∞ Q(a, 0) ̸= M , we again say that
there is some ε such that Q(a, 0) < M − ε for arbitrarily large a, and for some N , we
have max0≤i≤2024 Q(a, i) < M + ε/2100 for a > N . Then, for any index b, we get
ε
Q(a + 1, b) < M − ,
10000
which contradicts our assumption that max0≤i≤2024 Q(a + 1, i) ≥ M .
10
Section C
x2 −y 2 (x−yt)2
C1 Let the function f (x, y, t) = 2
− 1−t2
for all real values x, y and t ̸= ±1.
Solution:
f (2, 0, 3) = 2 + 1/2 = 5/2 and f (0, 2, 3) = −2 + 9/2 = 5/2.
(b) Show that f (x, y, 0) = f (y, x, 0) for any values of (x, y).
Solution:
x2 −y 2 2 2
f (x, y, 0) = 2
− x2 = − x +y
2
.
y 2 +x2
f (y, x, 0) = − 2 = f (x, y; 0).
(c) Show that f (x, y, t) = f (y, x, t) for any values of (x, y) and t ̸= ±1.
Solution:
x2 −y 2 (x−yt)2 (x2 −y 2 )(1−t2 )−2(x−yt)2 4xyt−(x2 +y 2 )(1+t2 )
f (x, y, t) = 2
− 1−t2
= 2(1−t2 )
= 2(1−t2 )
.
(d) Given
(x2 − y 2 )(1 + sin s) (x − y sin s)2
g(x, y, s) = −
2 1 − sin s
π
for all real values x, y and s ̸= 2 + 2πk, where k is an integer number, show that
g(x, y, s) = g(y, x, s) for any values of (x, y) and s in the domain of g(x, y, s).
Solution
(x2 −y 2 )(1−sin2 s)−2(x−y sin s)2
We have g(x, y, s) = 2(1−sin s)
.
Observe that letting sin s = t and repeating the calculations in part (c), we obtain
2 +y 2 )(1+t2 )
g(x, y) = 4xyt−(x2(1−t) . This expression in invariant under interchanging of x
and y for all t ̸= 1 or, equivalently, sin s ̸= 1.
π
That is, for any value s ̸= 2
+ 2πk, where k is an integer number.
11
Alternative solution:
Observe that
g(x, y, s) = (1 + sin(s))f (x, y, sin(s)) .
When 1 + sin(s) = 0 we have g(x, y, s) = 0 = g(y, x, s) and when 1 + sin(s) ̸= 0
the claim follows from (c).
12
C2 (a) How many ways are there to pair up the elements of 1, 2, ..., 14 into seven pairs
so that each pair has sum at least 15?
Solution:
One way. 1 has to be paired with 14, then 2 with 13, etc.
(b) How many ways are there to pair up the elements of 1, 2, ..., 14 into seven pairs
so that each pair has sum at least 13?
Solution:
36 ways. 1 can be paired with any of 12, 13, 14. Then there are 3 candidate pairs
for 2: the three numbers of 11, 12, 13, 14 that 1 is not paired with. Then there
are 3 candidate pairs for 3: the three numbers of 10, 11, 12, 13, 14 that 1 and
2 are not paired with.We repeat this process to form six pairs, and then the last
two numbers will be paired automatically.
(c) How many ways are there to pair up the elements of 1, 2, ..., 2024 into 1012 pairs
so that each pair has sum at least 2001?
Solution: We can pair up each of 1, 2, ... 1000 in 25 ways. That is, 1 can be
paired with any of 2000, 2001, ... , 2024; then there are 25 candidate pairs for
2: the 25 numbers of 1999, ... , 2024 that 1 is not paired with, then there are
25 candidate pairs for 3: the 25 numbers of 1998, ... , 2024 that 1 and 2 are not
paired with, etc; finally there are 25 candidate pairs for 1000: the 25 numbers of
1001, ... , 2024 that 1, ... , 999 are not paired with.
The other 24 numbers (excluding 1, ... , 1000 and their partners) are all greater
or equal than 1001. Therefore, we can pair the smallest of them with any of 23
remaining numbers. This leaves 22 numbers and again we can pair the smallest
of them with any of 21 remaining numbers, etc. until only one pair is left. Thus,
the 24 numbers can be paired in 23 × 21 × · · · × 3 × 1 ways. So the answer is
251000 × 23!!
13
C3 Let ABC be a triangle for which the tangent from A to the circumcircle intersects line
BC at D, and let O be the circumcenter. Construct the line ℓ that passes through A
and is perpendicular to OD. ℓ intersects OD at E and BC at F . Let the circle passing
through ADO intersect BC again at H. It is given that AD = AO = 1.
O
E
D
B F
H
Solution: √
Triangle ADO √is an isosceles right triangle, AD = AO = 1, so OD = 2 and
OE = 21 OD = 22 .
(b) Suppose for this part only that F H = √1 , determine the area of triangle OEF .
12
Solution:
Because H lies on the circle (ADO) and from ∠DAO = 90◦ it follows that
∠OHD = 90◦ . Consequently, ∠OHF = 90◦ . So we know that EOHF is cyclic.
Now, from power of a point we obtain DF · DH = DE · DO. Denote y = DF ,
then DH = DF + F H = y + √112 . We also know that DE = OE = √12 and
√
DO = 2. Thus, we see have y(y + √112 ) = 1. We solve for y to obtain
√
q
− √112 + 121
+4 6 3
y= = √ =
2 2 12 2
14
As such, we see that
√
r
3 1 1
EF = DF 2 − DE 2 = − =
4 2 2
√ √
2 1 2
It follows that the area of the right triangle [△OEF ] = 12 OE ·EF = 12 · ·
2 2
= 8
.
√
(c) Suppose for this part only that BC = 3, determine the area of the triangle OEF .
Solution:
O
E
D
B F
H
C
From power of a point (or from similar triangles DAB and DCA)
√ we know that
2
DA = DB ·√ DC. Let x = DB, then √ DC√ = DB + BC = x + 3, and DA = 1.
− 3+ 7
Thus, x(x + 3) = 1 implies x = 2
.
√
3
Observe that H is the midpoint
√ √
of BC since OH ⊥ BC, so BH = 2
. Then
3 7
DH = DB + BH = x + 2 = 2 .
15
From the right triangle DEF , by Pythagorean’s theorem, we obtain
√
r
4 1 1
EF = DF 2 − DE 2 = − =√
7 2 14
√
1 2 √1 1
It follows that the area of the right triangle [△OEF ] = 2
· 2
· 14
= √
4 7
.
(d) Suppose that B lies on the angle bisector of DEF , find the area of the triangle
OEF .
Solution:
O
45◦ E
D θ
B F
H 45◦
C
First, we see that DE ·DO = DA2 (both sides equal 1) and DB ·DC = DA2 as ob-
served in (b). So DE · DO = DB · DC, which means that E, O, C, B are concyclic.
Thus, we see that ∠BEO + ∠OCB = 180◦ . Since ∠BEO + ∠DEB = 180◦ as
well, ∠OCB = ∠DEB = 21 ∠DEF = 45◦ .
We have ∠OCD = ∠OCB = 45◦ . Denote ∠ODC = θ. From Sine Law in △DOC,
we see that √
2 1 1
◦
= =⇒ sin θ = =⇒ θ = 30◦
sin 45 sin θ 2
16
Therefore, from right triangle DEF , EF = DE · tan 30◦ = √1 √1
2 3
= √1 .
6
√
1 2 √1 1
It follows that the area of the right triangle [△OEF ] = 2
· 2
· 6
= √
4 3
.
17
C4 Call a polynomial f (x) excellent if its coefficients are all in [0, 1) and f (x) is an integer
for all integers x.
Solution:
Let f (x) = ax3 + bx2 + cx + d be an excellent polynomial. Then:
i. f (0) = d must be an integer, so d = 0.
ii. f (1) = a + b + c must be an integer, and so must f (−1) = −a + b − c, so by
adding these we get that 2b must be an integer, so b = 0 or b = 12 . Moreover,
from f (1) − f (−1) we get that 2(a + c) must be an integer, so a + c must be
one of 0, 12 , 1, or 23 .
iii. f (2) = 8a + 4b + 2c = 6a + 4b + 2(a + c) must be an integer, so since both
4b and 2(a + c) are integers, 6a must be an integer. Thus a must be one of
0, 16 , 13 , 12 , 32 , or 56 .
iv. Putting all this together, we obtain the following:
If b = 0, then a + c = 0 or 1, and thus we have six possibilities:
if a = 0 then c = 0 and we get f (x) = 0;
if a = 16 then c = 56
3 x(x2 +5)
(and we get f (x) = x +5x 6
= 6
which is an integer for every integer x);
if a = 31 then c = 23 ;
if a = 12 then c = 12 ;
if a = 23 then c = 13 ;
if a = 56 then c = 16 .
If b = 12 , then a + c = 1
2
or 32 , and thus we have another six possibilities:
if a = 0 then c = 21 ;
if a = 16 then c = 13 ;
if a = 13 then c = 16 ;
if a = 12 then c = 0;
if a = 23 then c = 56 ;
if a = 56 then c = 23 .
Therefore 12 excellent polynomials altogether.
Alternatively, the same result could be found based on part (b) as shown below.
18
(b) Compute the number of excellent polynomials with degree at most n, in terms of n.
Solution:
We require the following Lemma:
Every polynomial of degree at most n that
maps integers to integers is an integer
x x
combination of the polynomials 1, x, 2 , . . . , n .
Proof: We use induction. This is clearly true when n = 0. Now, assume it is true
for some n = k, and let f be an excellent polynomial of degree k + 1. Then, the
polynomial f (x + 1) − f (x) is a polynomial of degree at most k and also maps
integers to integers, so we can write
k
X x
f (x + 1) − f (x) = ai ,
i=0
i
Since f (0) and the ai are all integers, this proves the lemma.
In particular, all excellent polynomials are of this form.
Given an excellent polynomial f of degree at most n, the lemma implies there
exists an integer c such that g(x) = f (x) − c nx is a polynomial of degree at most
n − 1 that maps integers to integers. Note since nx = n!1 xn + p(x), where p(x) is a
polynomial of degree at most n − 1, the coefficient of xn in f (x) is n!c . Therefore,
since f is excellent, c is an integer such that n!c ∈ [0, 1) and thus there are n!
options for c.
For any such c, g(x) is a polynomial of degree at most n − 1 that maps integers
to integers. Since adding a polynomial with integer coefficients to g will still map
integers to integers, there is a unique polynomial h with integer coefficients and
degree at most n − 1 such that g − h is excellent. Conversely, for any excellent
polynomial g of degree at most n − 1, there are n! integers c such that coefficient
of xn in g(x) + c nx is in [0, 1) and a unique polynomial h with integer coefficients
Since the above processes are inverses of each other, thus the number of excellent
polynomials of degree at most n is n! times the number of excellent polynomi-
als of degree at most n − 1. So the answer for (a) is 3!2!1! = 12 and for (b) is
n!(n − 1)! · · · 1! = n(n − 1)2 · · · 2n−1 1n .
19
(c) Find the minimum n ≥ 3 for which there exists an excellent polynomial of the
form n!1 xn + g(x), where g(x) is a polynomial of degree at most n − 3.
Solution:
We must find some n such that there are integers c and d such that the polynomial
x x x 1
+c +d − xn
n n−1 n−2 n!
is of degree at most n − 3.
Observe that
x x! x(x − 1)(x − 2) · · · (x − (n − 1))
= = .
n n!(x − n)! n!
Now,
(x − 1)(x − 2) · · · (x − k) = xk + ck−1 xk−1 + ck−2 xk−2 + q(x),
where q(x) is a polynomial of degree k − 3, ck−1 = − kj=1 j = − (k+1)k
P
2
, and
k−1 X
k
(k + 1)2 k 2 k(k + 1)(2k + 1)
X 1 1
ck−2 = ij = − = (k+1)k(k−1)(3k+2).
j=1 i=j+1
2 4 6 24
Similarly,
x 1 n−1 (n − 2)(n − 1) n−2
= x − x + Q(x),
n−1 (n − 1)! 2
and
x 1
= xn−2 + R(x),
n−2 (n − 2)!
where Q and R have degree at most n − 3.
We are forced to choose c = n−1
2
and obtain
(n − 2)(3n − 1) (n − 2)(n − 1)
− + d = 0.
24 4
2
Thus, d = 3n −11n+10
24
= (3n−5)(n−2)
24
. To have integer coefficients c and d, we require
2
2|(n − 1) and 24|(3n − 11n + 10). The minimum such value for n is 23.
20
Remark
Here are some examples of non-zero excellent polynomials of degree 2 and 3:
x+x2 x+x3 2x+x3 5x+x3 4x+3x2 +5x3 2x+3x2 +x3 x+3x2 +2x3 5x+3x2 +4x3
2
, 2
, 3
, 6
, 6
, 6
, 6
, 6
.
Note that for a polynomial P (x) of degree n it is sufficient to verify that P (0), . . . , P (n)
are integers in order to conclude that P (k) is integer for all integer k. This fact
is proven by induction because it is true for n = 0 and degree of the polynomial
Q(x) = P (x + 1) − P (x) is at most n − 1. Thus, if n ≥ 1 then for all k ≥ n,
P (k + 1) = P (k) + Q(k) is integer given that P (k) is integer.
21