Let f(x)=xn+an−1xn−1+...+a0 be a polynomial of degree n≥1 with n (not necessarily distinct) integer roots. Assume that there exist distinct primes p0,p1,..,pn−1 such that ai>1 is a power of pi, for all i=0,1,..,n−1. Find all possible values of n. algebrapolynomialnumber theory