Problem

Source: 2015 China South East MO Grade 11 P8

Tags: algebra, number theory



Find all prime number $p$ such that there exists an integer-coefficient polynomial $f(x)=x^{p-1}+a_{p-2}x^{p-2}+…+a_1x+a_0$ that has $p-1$ consecutive positive integer roots and $p^2\mid f(i)f(-i)$, where $i$ is the imaginary unit.