Uses of Prime Factor Decomposition