Question 987637
Imagine you have 5 boxes. There are 5 numbers
you can put in each of the boxes, so if repetitions
are allowed, the possible numbers total:
{{{ 5*5*5*5*5 = 3125 }}}
-------------------------
If repetitions are not allowed,
{{{ 5*4*3*2*1 = 1200 }}} numbers are possible
--------------------------
Repetitions are not allowed
Now just get rid of all the numbers that end
with 2 or 4 and you are left with the odd numbers
{{{ 1200 - ( 4*3*2*1*1 + 4*3*2*1*1 ) }}}
( the addition is for ending in 2 OR ending in 4 )
{{{ 1200 - 2*24 = 1200 - 48 }}}
{{{ 1200 - 48 = 1152 }}} possible numbers
-----------------------------------------
Hope I got it!