Let be an odd prime power and be an odd prime with . Let the order of modulo be and . Here explicit expressions for all the primitive idempotents in the ring , for any positive integer , are obtained in terms of cyclotomic numbers, provided does not divide , if . Some lower bounds on the minimum distances of irreducible cyclic codes of length over are also obtained.