odd integers in U $\rightarrow$ ${\{1,3,5,7,9}\}$
bit $1$ in $1^{st}$ , $3^{rd}$ , $5^{th}$ , $7^{th}$ and $9^{th}$ positions
bit $0$, elsewhere
$1\rightarrow1$
$2\rightarrow0$
$3\rightarrow1$
$4\rightarrow0$
$5\rightarrow1$
$6\rightarrow0$
$7\rightarrow1$
$8\rightarrow0$
$9\rightarrow1$
$10\rightarrow0$
bit string $\rightarrow$ $1010101010$
even integers in U $\rightarrow$ ${\{2,4,6,8,10}\}$
bit $1$ in $2^{nd}$ , $4^{th}$ , $5^{th}$ , $8^{th}$ and $10^{th}$ positions
bit $0$, elsewhere
$1\rightarrow0$
$2\rightarrow1$
$3\rightarrow0$
$4\rightarrow1$
$5\rightarrow0$
$6\rightarrow1$
$7\rightarrow0$
$8\rightarrow1$
$9\rightarrow0$
$10\rightarrow1$
bit string $\rightarrow$ $0101010101$
set of all integers in U that do not exceed 5 $\rightarrow$ ${\{1,2,3,4,5}\}$
$1\rightarrow1$
$2\rightarrow1$
$3\rightarrow1$
$4\rightarrow1$
$5\rightarrow1$
$6\rightarrow0$
$7\rightarrow0$
$8\rightarrow0$
$9\rightarrow0$
$10\rightarrow0$
bit string $\rightarrow$ $1111100000$