### 5.6.8 Matrix of factors : maple_ifactors

maple_ifactors has an integer n (or a list of integers)
as parameter.

maple_ifactors decomposes the integer (or the integers of the list) into
prime factors, but the output follows the Maple syntax :

it is a list with +1 or -1 (for the sign) and a matrix with 2 columns and
where the lines are the prime factors and their multiplicity (or a list of
lists...).

Input :

maple_ifactors(90)

Output :

[1,[[2,1],[3,2],[5,1]]]

Input :

maple_ifactor([36,52])

Output :

[[1,[[2,2],[3,2]]],[1,[[2,2],[13,1]]]]