Implement GCD and extended GCD.
Allow for arbitrary radixes in digit manipulation.
Implement the lucas theorem in Clojure.