fork download
  1. (defun f(a) (if (> a 9) (+ (mod a 10) (f(floor a 10))) (+ 0 a)))
  2. (defun g(a) (and (= (mod (f a) 11) 0) (= (mod (f (+ a 7)) 11) 0)))
  3. (loop for i from 100 to 999 do (if (g i) (print i)))
Success #stdin #stdout 0s 535040KB
stdin
Standard input is empty
stdout
499 
598 
697 
796 
895