Connection between even and odd numbers and functions