HCF {blocksdesign} | R Documentation |
Finds the highest common factor (hcf) of a set of integer numbers greater than zero (Euclidean algorithm).
HCF(...)
... |
any set of positive integers, in any order, for which the hcf is required. |
Finds the hcf of any set of positive integers which can be in any order.
hcf
Euclidean algorithm, see:https://mathworld.wolfram.com/EuclideanAlgorithm.html
# hcf of vectors of integers HCF(56,77,616) HCF(3,56,77,616)