
We give explicit Dirichlet series identities for the smallest prime factor pminpmin and the largest prime factor PmaxPmax over the integers. We then turn to the polynomial ring Fq[T]Fq[T] and study the degree of the smallest prime factor, dmindmin. Using the exact generating function of monic polynomials, we obtain closed-form formulas for the survival probability P(dmin>m)P(dmin>m) and for all higher moments of dmindmin under the uniform distribution on monic polynomials of fixed degree. The formulas are illustrated by a complete worked example over F2[T]F2[T]. All results are self-contained and rigorously proved; no analytic continuation or order-based ambiguities appear.
