Jelly, 1 byte
g
Jelly, 7 bytes
ṛß%ðḷṛ?
Recursive implementation of the Euclidean algorithm. Try it online!
Dennis
- 211.7k
- 41
- 380
- 830
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchangeg
ṛß%ðḷṛ?
Recursive implementation of the Euclidean algorithm. Try it online!