Prime Factorization of a Composite Number

MathOnDemand.com

As illustrated below, and by other available solutions, this application will return the prime factorization of a composite number by the ladder method.  If a positive integer entered is not a composite number, the application will return a result indicating that it is a prime number or is not a prime or  composite number such as the case with the number 1.