powered by
Finds the highest common factor (hcf) of a set of integer numbers greater than zero (Euclidean algorithm)
HCF(v)
is the vector of integers for which the hcf is required (must be integers)
hcf
Finds the hcf of a vector of positive integers which can be in any order
# NOT RUN { # hcf of vectors of integers HCF(c(56,77,616)) HCF(c(3,56,77,616)) # }
Run the code above in your browser using DataLab