Solution: Prime Factor

Look at the solution to the previous challenge.

Problem statement

Prime factors are the combinations of the smallest prime numbers that, when multiplied together, will produce the original number. Consider the following examples:

  • Prime factors of 44 are: 2∗22 * 2

  • Prime factors of 77 are: ...