Gapplet
Given an irreducible d Z/pZ[X], determine a polynomial g Z/pZ[X] which is primitive in Z/pZ[X]/(d).