on even (n) return n mod 2 = 0 end on odd (n) return n mode 2 <> 0 end