How do you write a polynomial function of least degree with integral coefficients that has the given zeroes i, -5i?
The most important thing to note here is that if a polynomial has rational coefficients and imaginary roots, the imaginary roots come in pairs.
Complex roots always come in pairs if the coefficients are integral. The pairs are always complex conjugates.
This gives us the function:
Note that there are two pairs that form the pattern