In a four digit number, how many possible combinations of odd and/or even numbers are there?

I'm not using the actual numbers themselves, but just odd and/or even.

I'm half asleep and not good at math but I'm seeing 16 possibilities.

Several examples are below, where "E" is an even number and "O" is an odd number:

EEEE

OOOO

EEEO

EEOO

EOOO

EOOE
by Level 1 User (120 points)

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

Yes, there are 16 for mixed odds and evens, because there are two possibilities for each of the four digits—odd or even, and 16=24. However, the 4-digit numbers will include those with leading zeroes such as 0000, 0001, 0234, for example. So, leading blanks would have to count as evens.

by Top Rated User (1.2m points)
Hey, thanks for the fast reply. Appreciated, and glad I was correct.
I'll add the combinations below with their opposites next to them to save space:

OOOO .. EEEE

OOOE .. EEEO

OOEE .. EEOO

OEEE .. EOOO

OEOE .. EOEO

OEOO .. EOEE

OOEO .. EEOE

OEEO .. EOOE

Because this is a binary problem you can use binary arithmetic and counting. 0 can be used to represent even and 1 odd. The numbers 0-15 converted to binary match exactly what you present as E and O:

0000 0001 0010 0011 0100 0101 0110 0111

(    0      1       2      3       4        5       6      7   )

1000 1001 1010 1011 1100 1101 1110 1111

(  8       9      10     11     12    13     14     15  )

This is, of course, the original principle of computer logic, because a binary state is Yes/No, On/Off, Even/Odd, Positive/Negative, etc. That is, any two state system.

Thanks again :)

Related questions

1 answer
asked Aug 16, 2014 in Other Math Topics by anonymous | 743 views
1 answer
1 answer
asked Oct 4, 2013 in Word Problem Answers by anonymous | 697 views
1 answer
2 answers
asked Nov 1, 2012 in Word Problem Answers by anonymous | 1.2k views
1 answer
Welcome to MathHomeworkAnswers.org, where students, teachers and math enthusiasts can ask and answer any math question. Get help and answers to any math problem including algebra, trigonometry, geometry, calculus, trigonometry, fractions, solving expression, simplifying expressions and more. Get answers to math questions. Help is always 100% free!
87,516 questions
100,279 answers
2,420 comments
733,487 users