(defn is-odd [x] (= (mod (int x) 2) 1)) (defn meets-rules "Did this number meet the rules for our test" [x] (and (and (and (is-odd (.substring (str x) 0 1)) (is-odd (.substring (str x) 1 2)) (is-odd (.substring (str x) 2 3))))))