Previous Up Next

2.6.6  Decomposition into prime factors : ifactor

ifactor has an integer as parameter.
ifactor decomposes an integer into its prime factors.
Input :

ifactor(90)

Output :

2*3^2*5

Input :

ifactor(-90)

Output :

(-1)*2*3^2*5

Previous Up Next