Prime Form calculation.