Previous Up Next

5.6.12  Euclidean quotient and euclidean remainder of two integers : iquorem

iquorem returns the list of the quotient q and the remainder r of the Euclidean division between two integers a and b given as arguments (a=b*q+r with 0≤ r< b).
Input:

iquorem(148,5)

Output:

[29,3]

Previous Up Next