Đặt \(f\left(x\right)=ax^3+bx^2+cx+d\left(a\inℤ^+\right)\)
\(f\left(5\right)=125a+25b+5c+d\)
\(f\left(3\right)=27a+9b+3c+d\)
\(\Rightarrow f\left(5\right)-f\left(3\right)=98a+16b+2c\)
Mà \(f\left(5\right)-f\left(3\right)=2022\) nên \(98a+16b+2c=2022\)
\(\Leftrightarrow49a+8b+c=1011\)
Lại có \(f\left(7\right)=343a+49b+7c+d\)
\(f\left(1\right)=a+b+c+d\)
\(\Rightarrow f\left(7\right)-f\left(1\right)=342a+48b+6c\) \(=6\left(57a+8b+c\right)\) \(=6\left(8a+1011\right)\) (vì \(49a+8b+c=1011\))
Mà do \(a\inℤ^+\) nên \(f\left(7\right)-f\left(1\right)\) là hợp số (đpcm)
công thức tổng quát: f(x)=x3 sdasdasdadasd