To perform prime factorization or to find factors of any number say 15.

  1. Enter ifactor(15) then press Enter.
  2. Answer 3 * 5 will be displayed.

Work Shown:

15 is divisible by 3: 15 = 5 * 3.

ifactors decomposes the integer (or the integers of the list) into prime factors,but the result is given as a list (or a list of lists) in which each prime factor is followed by its multiplicity.

  1. Enter ifactors(15) then press Enter.
  2. Answer[3,1,5,1] will be displayed.