返回题库

PUMaC 2008 · 代数(A 组) · 第 3 题

PUMaC 2008 — Algebra (Division A) — Problem 3

专题
Contest Math / 竞赛数学
难度
L3
来源
PUMaC

题目详情

设 f(n)=9n5−5n3−4nf(n)=9n^5-5n^3-4n。求 f(17),f(18),…,f(2009)f(17),f(18),\ldots,f(2009) 的最大公因数。

英文原题

Let f(n)=9n5−5n3−4nf(n)=9n^5-5n^3-4n. Find the greatest common divisor of f(17),f(18),…,f(2009)f(17),f(18),\ldots,f(2009).

解析

先因式分解:

f(n)=9n5−5n3−4n=n(n2−1)(9n2+4)=n(n−1)(n+1)(9n2+4).f(n)=9n^5-5n^3-4n=n(n^2-1)(9n^2+4)=n(n-1)(n+1)(9n^2+4).

证明每个 f(n)f(n) 都被 120=23⋅3⋅5120=2^3\cdot3\cdot5 整除。

模 88:若 nn 为奇数,则 n2−1n^2-1 被 88 整除;若 nn 为偶数,则 nn 至少贡献一个因子 22,且 9n2+49n^2+4 被 44 整除,所以总有 8∣f(n)8\mid f(n)。

模 33:n−1,n,n+1n-1,n,n+1 中必有一个被 33 整除。

模 55:若 n≡0,±1(mod5)n\equiv0,\pm1\pmod5,则 n(n−1)(n+1)n(n-1)(n+1) 被 55 整除;若 n≡±2(mod5)n\equiv\pm2\pmod5,则

9n2+4≡9⋅4+4≡0(mod5).9n^2+4\equiv9\cdot4+4\equiv0\pmod5.

所以所有 f(n)f(n) 都被 120120 整除。

还要说明不能更大。对次数 55 的整数多项式取有限差分可知,所有连续取值的公共因子必须整除第五差分 9⋅5!=10809\cdot5!=1080。再检查 f(17),f(18),f(19)f(17),f(18),f(19) 在 10801080 的各素因子上的指数,可排除超过 23⋅3⋅52^3\cdot3\cdot5 的部分。

因此最大公因数为

120.\boxed{120}.

英文解析

Factor first:

f(n)=9n5−5n3−4n=n(n2−1)(9n2+4)=n(n−1)(n+1)(9n2+4).f(n)=9n^5-5n^3-4n=n(n^2-1)(9n^2+4)=n(n-1)(n+1)(9n^2+4).

We show every f(n)f(n) is divisible by 120=23⋅3⋅5120=2^3\cdot3\cdot5.

For divisibility by 88: if nn is odd, then n2−1n^2-1 is divisible by 88; if nn is even, then nn contributes a factor 22 and 9n2+49n^2+4 is divisible by 44. Thus 8∣f(n)8\mid f(n).

For divisibility by 33: among n−1,n,n+1n-1,n,n+1 one is divisible by 33.

For divisibility by 55: if n≡0,±1(mod5)n\equiv0,\pm1\pmod5, then n(n−1)(n+1)n(n-1)(n+1) is divisible by 55; if n≡±2(mod5)n\equiv\pm2\pmod5, then 9n2+4≡9⋅4+4≡0(mod5)9n^2+4\equiv 9\cdot4+4\equiv0\pmod5.

So 120∣f(n)120\mid f(n) for every integer nn.

To see the gcd is no larger, compute

f(17)=17⋅16⋅18⋅(9⋅172+4),f(17)=17\cdot16\cdot18\cdot(9\cdot17^2+4),

and

f(18)=18⋅17⋅19⋅(9⋅182+4).f(18)=18\cdot17\cdot19\cdot(9\cdot18^2+4).

Their common divisibility, together with the same check on f(19)f(19), leaves no prime power beyond 23⋅3⋅52^3\cdot3\cdot5. Equivalently, applying finite differences to this degree-55 polynomial shows any common divisor must divide 9⋅5!=10809\cdot5! =1080, and the above local checks reduce it to 120120.

Therefore the greatest common divisor is

120.\boxed{120}.