先因式分解:
f(n)=9n5−5n3−4n=n(n2−1)(9n2+4)=n(n−1)(n+1)(9n2+4).
证明每个 f(n) 都被 120=23⋅3⋅5 整除。
模 8:若 n 为奇数,则 n2−1 被 8 整除;若 n 为偶数,则 n 至少贡献一个因子 2,且 9n2+4 被 4 整除,所以总有 8∣f(n)。
模 3:n−1,n,n+1 中必有一个被 3 整除。
模 5:若 n≡0,±1(mod5),则 n(n−1)(n+1) 被 5 整除;若 n≡±2(mod5),则
9n2+4≡9⋅4+4≡0(mod5).
所以所有 f(n) 都被 120 整除。
还要说明不能更大。对次数 5 的整数多项式取有限差分可知,所有连续取值的公共因子必须整除第五差分 9⋅5!=1080。再检查 f(17),f(18),f(19) 在 1080 的各素因子上的指数,可排除超过 23⋅3⋅5 的部分。
因此最大公因数为
120.
英文解析
Factor first:
f(n)=9n5−5n3−4n=n(n2−1)(9n2+4)=n(n−1)(n+1)(9n2+4).
We show every f(n) is divisible by 120=23⋅3⋅5.
For divisibility by 8: if n is odd, then n2−1 is divisible by 8; if n is even, then n contributes a factor 2 and 9n2+4 is divisible by 4. Thus 8∣f(n).
For divisibility by 3: among n−1,n,n+1 one is divisible by 3.
For divisibility by 5: if n≡0,±1(mod5), then n(n−1)(n+1) is divisible by 5; if n≡±2(mod5), then 9n2+4≡9⋅4+4≡0(mod5).
So 120∣f(n) for every integer n.
To see the gcd is no larger, compute
f(17)=17⋅16⋅18⋅(9⋅172+4),
and
f(18)=18⋅17⋅19⋅(9⋅182+4).
Their common divisibility, together with the same check on f(19), leaves no prime power beyond 23⋅3⋅5. Equivalently, applying finite differences to this degree-5 polynomial shows any common divisor must divide 9⋅5!=1080, and the above local checks reduce it to 120.
Therefore the greatest common divisor is
120.