failed attempt to permute in clojure

in Haskell however,  successfully create combine and lgcd/llcm