number(X) :- 0 is mod(X,2).