Number Theory
Basic
Even and Odd Numbers
Every integer is either even or odd.
Formula
Variables
nInteger
kInteger
Example
10 = 2·5 is even; 11 = 2·5 + 1 is odd.
Did You Know?
Parity — evenness or oddness — is the simplest error-detecting check and appears throughout computer science.