Exponential Form through Prime Factorization