SOLUTION: How many positive integers are there less than 900 such that all digits are odd?

Algebra.Com
Question 964710: How many positive integers are there less than 900 such that all digits are odd?
Answer by macston(5194)   (Show Source): You can put this solution on YOUR website!
There are three cases to consider:
1)One digit numbers
2)Two digit numbers
3)three digit numbers
.
For one digit numbers, 5 are odd:1,3,5,7,9 so we add these to our total:5
.
For two digit numbers, we have five choices for the tens digit and five choices for the units digit so we add 5 x 5=25 more to our total:5+25=30
.
For three digit numbers, we only have 4 choices for the hundreds digit (numbers starting with 9 are greater than 900) and still five choices for tens and five for units so we add 4 x 5 x 5=100 to our total:30+100=130
.
ANSWER There are 130 numbers less than 900 with only odd digits.

RELATED QUESTIONS

How many positive integers are there less than 800 such that all the digits are... (answered by drcole)
How many positive integers less than 150 are there such that all of the digits are... (answered by solver91311)
How many positive integers are there less than 800 such that all digits are even? (answered by Alan3354,richard1234)
How many three-digit counting numbers that are less than 300 are there such that all the... (answered by 303795)
How many positive integers less than 600 have digits that are all... (answered by Alan3354)
How many three-digit counting numbers are there that are less than 300 such that all the... (answered by Zoop)
How many odd 2-digit positive integers less than 50 are... (answered by Fombitz)
How many positive integers x are there such that 3x has three digits and 4x has four... (answered by scott8148)
How many positive integers k less than 289 are there such that k^2+6k+7 is divisible by... (answered by math_helper,kohkche,greenestamps,ikleyn)