Unofficial archive — problems, solutions & results © IMC, reproduced with permission.

IMC / 2019 / Problems / Day 1, P4

IMC 2019 · Day 1 · P4

killer

Define the sequence a0,a1,…a_0, a_1, \dots of numbers by the following recurrence: a0=1,a1=2,(n+3)an+2=(6n+9)an+1−nanfor n≥0.a_0 = 1, \quad a_1 = 2, \quad (n + 3) a_{n+2} = (6n + 9) a_{n+1} - n a_n \quad \text{for } n \ge 0. Prove that all terms of this sequence are integers.

Proposed by Khakimboy Egamberganov, ICTP, Italy

Solution (official)

Hint: Determine the generating function ∑anxn\sum a_n x^n.

Take the generating function of this sequence f(x)=∑n=0∞anxn.f(x) = \sum_{n=0}^{\infty} a_n x^n. It is easy to see that the sequence is increasing and an+1an=(6n+3)an−(n−1)an−1(n+2)an<6n+3n+2⇒lim sup⁡n→∞an+1an≤6.\frac{a_{n+1}}{a_n} = \frac{(6n + 3) a_n - (n - 1) a_{n-1}}{(n + 2) a_n} < \frac{6n + 3}{n + 2} \quad \Rightarrow \quad \limsup_{n \to \infty} \frac{a_{n+1}}{a_n} \le 6. So the generating function converges in some neighbourhood of 0. Then, we have f(x)=1+2x+∑n=2∞anxn=1+2x+∑n=0∞an+2xn+2=1+2x+∑n=0∞6n+9n+3an+1xn+2−∑n=0∞nn+3anxn+2.f(x) = 1 + 2x + \sum_{n=2}^{\infty} a_n x^n = 1 + 2x + \sum_{n=0}^{\infty} a_{n+2} x^{n+2} = 1 + 2x + \sum_{n=0}^{\infty} \frac{6n + 9}{n + 3} a_{n+1} x^{n+2} - \sum_{n=0}^{\infty} \frac{n}{n + 3} a_n x^{n+2}. Let f1(x)=∑n=0∞6n+9n+3an+1xn+2f_1(x) = \sum\limits_{n=0}^{\infty} \frac{6n + 9}{n + 3} a_{n+1} x^{n+2} and f2(x)=∑n=0∞nn+3anxn+2f_2(x) = \sum\limits_{n=0}^{\infty} \frac{n}{n + 3} a_n x^{n+2}. Then (xf1(x))′=∑n=0∞(6n+9)an+1xn+2=6x2∑n=0∞(n+1)an+1xn+3x∑n=0∞an+1xn+1=6x2f′(x)+3x(f(x)−1)(x f_1(x))' = \sum_{n=0}^{\infty} (6n + 9) a_{n+1} x^{n+2} = 6 x^2 \sum_{n=0}^{\infty} (n + 1) a_{n+1} x^n + 3x \sum_{n=0}^{\infty} a_{n+1} x^{n+1} = 6 x^2 f'(x) + 3x (f(x) - 1) and (xf2(x))′=∑n=0∞nanxn+2=x2∑n=0∞(n+1)anxn−x2∑n=0∞anxn=x2(xf(x))′−x2f(x)=x3f′(x).(x f_2(x))' = \sum_{n=0}^{\infty} n a_n x^{n+2} = x^2 \sum_{n=0}^{\infty} (n + 1) a_n x^n - x^2 \sum_{n=0}^{\infty} a_n x^n = x^2 (x f(x))' - x^2 f(x) = x^3 f'(x). Using this relations, we arrive at the following differential equation for ff: (xf(x))′=1+4x+(xf1(x))′−(xf2(x))′=1+x+(6x2−x3)f′(x)+3xf(x)(x f(x))' = 1 + 4x + (x f_1(x))' - (x f_2(x))' = 1 + x + (6 x^2 - x^3) f'(x) + 3x f(x) or, equivalently, (x3−6x2+x)f′(x)+(1−3x)f(x)−1−x=0.(x^3 - 6 x^2 + x) f'(x) + (1 - 3x) f(x) - 1 - x = 0. So, we need solve this differential equation in some sufficiently smaller neighbourhood of 0. We know that f(0)=1f(0) = 1 and we need a neighbourhood of 0 such that x2−6x+1>0x^2 - 6x + 1 > 0. Then f′(x)+1−3xx(x2−6x+1)f(x)=1+xx(x2−6x+1)f'(x) + \frac{1 - 3x}{x (x^2 - 6x + 1)} f(x) = \frac{1 + x}{x (x^2 - 6x + 1)} for x≠0x \ne 0. So the integral multiplier is μ(x)=xx2−6x+1\mu(x) = \dfrac{x}{\sqrt{x^2 - 6x + 1}} and (f(x)μ(x))′=x+x2(x2−6x+1)32,(f(x) \mu(x))' = \frac{x + x^2}{(x^2 - 6x + 1)^{\frac32}}, so f(x)=(1−x2x2−6x+1−12)x2−6x+1x=1−x−x2−6x+12x.f(x) = \left( \frac{1 - x}{2 \sqrt{x^2 - 6x + 1}} - \frac12 \right) \frac{\sqrt{x^2 - 6x + 1}}{x} = \frac{1 - x - \sqrt{x^2 - 6x + 1}}{2x}. We found the generating function of (an)(a_n) in some neighbourhood of 0, which x2−6x+1>0x^2 - 6x + 1 > 0. So our series uniformly converges to f(x)=1−x−x2−6x+12xf(x) = \dfrac{1 - x - \sqrt{x^2 - 6x + 1}}{2x} in ∣x∣<3−22|x| < 3 - 2\sqrt{2}.

Instead of computing the coefficients of the Taylor series of f(x)f(x) directly, we will find another recurrence relation for (an)(a_n). It is easy to see that f(x)f(x) satisfies the quadratic equation xt2−(1−x)t+1=0x t^2 - (1 - x) t + 1 = 0. So xf(x)2−(1−x)f(x)+1=0.x f(x)^2 - (1 - x) f(x) + 1 = 0. Then x(∑n=0∞anxn)2+1=∑n=0∞anxn−∑n=0∞anxn+1 ⇒ ∑n=0∞(∑k=0nakan−k)xn+1=∑n=0∞(an+1−an)xn+1x \left( \sum_{n=0}^{\infty} a_n x^n \right)^2 + 1 = \sum_{n=0}^{\infty} a_n x^n - \sum_{n=0}^{\infty} a_n x^{n+1} \ \Rightarrow \ \sum_{n=0}^{\infty} \left( \sum_{k=0}^{n} a_k a_{n-k} \right) x^{n+1} = \sum_{n=0}^{\infty} (a_{n+1} - a_n) x^{n+1} and from here, we get an+1=an+∑k=0nakan−k.a_{n+1} = a_n + \sum_{k=0}^{n} a_k a_{n-k}. If a0,a1,…,ana_0, a_1, \dots, a_n be integers, then an+1a_{n+1} is also integer. We know that a0=1,a1=2a_0 = 1, a_1 = 2 are integer numbers, so all terms of the sequence (an)(a_n) are integers by induction.

How the field did

contestants scored
360
average (of 10)
0.38
solved (≥ 80%)
1.7%
near-0 (≤ 10%)
91.7%
discrimination
0.33

Score distribution (field cohort)

Computed on contestants with a meaningful total (field cohort); discrimination is the corrected item–total correlation.

Similar problems

IMC 2018 · Day 2 · P10killeravg 0.3/10 · solved 1% · near-0 96% · disc 0.37
IMC 2023 · Day 2 · P10killeravg 0.2/10 · solved 1% · near-0 98% · disc 0.24
IMC 2015 · Day 1 · P3mediumavg 4.9/10 · solved 41% · near-0 28% · disc 0.53
IMC 2002 · Day 2 · P9easyavg 5.6/10 · solved 51% · near-0 38% · disc 0.48