We call a monic polynomial P(x)∈Z[x] square-free mod n if there are no polynomials Q(x),R(x)∈Z[x] such that Q being non-constant and P(x)≡Q(x)2R(x)(modn). Given a prime p and integer m≥2. Find the number of monic square-free mod p polynomials P(x) with degree m and coefficients in {0,1,2,3,…,p−1}.
Solution
The answer is 1 for m=0, p for m=1 and φ(pm) for m>1.
Note that Zp[x] is a unique factorization domain. So any monic P(x)∈Zp[x] can be uniquely expressed as P(x)≡A(x)2Q(x)(modp), where A(x),Q(x) are monic polynomials and Q(x) is square-free. Let fn be the number of all square-free monic polynomials of Zp[x] with degree n. Any non-square-free monic polynomial can be expressed as P(x)=A(x)2S(x) where S(x) is a square-free monic polynomial.
If degA(x)=m, then S(x)∈fn−2m. We have fn−2m options for S(x) and pm options for A(x). So fn=pn−m=1∑⌊2n⌋fn−2mpm. And by simple induction on n we get fn=φ(pn).
Want a route through all this instead of an archive? The track
puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.
Source: MathNet,
licensed CC-BY-4.0.
Statement reproduced verbatim; metadata (topic, difficulty) added by this project.