Miscellaneous Functions

Denotations: m, n – integers

Function

Descriptioin

max(a,b, ..., ...)

maximal of arguments

min(a,b, ..., ...)

minimal of arguments

cgd(m,n)

Greater common divisor of m and n

cnk(m,n)

Ñnk, binomial coefficient,

 

fact(m)

Factorization of a natural number

 

fact(m) returns a list of pairs. Each pair presents a base and its power in decomposition.

 

Example

fact(32400) returns the list ((2,4),(3,4),(5,2)), which stands for

32400=24*34*52