Odd and Even Values of Divisor Functions