Polynomials all of whose roots are rational

Solution 1:

This has been answered on Mathoverflow.