If the base is even, the digits of the number are checked. If the digit is odd, the number is odd and even if it is even. In the case of a single base, the sum of the numbers is counted. If the total is odd, the number is odd and if the total is even, the number is even.