next up previous contents index
suivant: The divisors of a monter: Integers (and Gaussian Integers) précédent: List of prime factors   Table des matières   Index


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]]]]


giac documentation written by Renée De Graeve and Bernard Parisse