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.
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
gcd()'s real shortest form (4237 bytes - 2bytes gain thanks to Rodolvertice)
gcd()
=(g 'g'(?(#(z$(_2))$(_1)#(self $g$(_2)#(mod)))))
gcd()'s real shortest form (42 bytes - 2bytes gain thanks to Rodolvertice)
=(g '(?(#(z$(_2))$(_1)#(self $(_2)#(mod)))))
gcd()'s real shortest form (37 bytes - 2bytes gain thanks to Rodolvertice)
=(g'(?(#(z$(_2))$(_1)#(g$(_2)#(mod)))))
gcd()'s real shortest form (42 bytes) (thanks- 2bytes gain thanks to RodoverticeRodolvertice)
gcd()'s real shortest form (42 bytes) (thanks to Rodovertice)
gcd()'s real shortest form (4442 bytes) :(thanks to Rodovertice)
=(gcdg '(?(#(z$(_2))$(_1)#(self $(_2)#(mod)))))
gcd()'s shortest form (44 bytes) :
=(gcd '(?(#(z$(_2))$(_1)#(self $(_2)#(mod)))))