Gapplet
Given a prime power q = pa, show the powers of a primitive element in the field Z/pZ[X]/(f), where f Z/pZ[X] is an irreducible polynomial of degree a.