Work out even or odd checker instantly with clear inputs, formula shown and shareable results.
A number is even when division by two leaves no remainder, and odd otherwise. In base ten you only need to look at the final digit: 0, 2, 4, 6 and 8 mean even.
Parity test
v is even ⇔ v mod 2 = 0
Odd, since 47 = 2 × 23 + 1.
Yes. Zero divided by two leaves no remainder, so it is even by definition.