Description Usage Arguments Value References Examples
This function is a loop algorithm to find the greatest common divisor (GCD) of two nonzero number x and y using euclidean algorithm. If the lager number devided by the smaller number has a nonzero remainder,replace the lager number with remainder.Reverse the step until the remainder is zero, then the denominator is GCD of the original two numbers.
1 | euclidean(x, y)
|
x |
A number |
y |
A number |
greatest common divisor (GCD) of x and y
https://en.wikipedia.org/wiki/Euclidean_algorithm
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.