SOLUTION: How many even numbers are there with three digits such that if 5 is one of the digits in a number then 7 is the next digit in that number in the numbers 0,1,2,3,4,5,6,7,8,9?

Algebra.Com
Question 1159034: How many even numbers are there with three digits such that if 5 is one of the digits in a number then 7 is the next digit in that number in the numbers 0,1,2,3,4,5,6,7,8,9?
Answer by Edwin McCravy(20055)   (Show Source): You can put this solution on YOUR website!
We include all 3-digit even numbers that don't contain a 5 at all.

Case 1: the number does not contain a 5 at all.
We choose the first digit 8 ways [from {1,2,3,4,6,7,8,9}]
We choose the second digit 9 ways [from {0,1,2,3,4,6,7,8,9}]
We choose the third digit 5 ways [from {0,2,4,6,8}].

That's 8∙9∙5 = 360 ways

Case 2: the first digit is a 5 and the second digit is a 7.

They are 570, 572, 574, 576, and 578.

Total 360+5 = 365. 

[Note: the 2nd digit cannot be 5 because the third digit must be even, and
thus cannot be 7]

Edwin

RELATED QUESTIONS

1) There exists a 5 digit number N with distinct and non-zero digits such that it equals... (answered by Edwin McCravy)
how many even three digit numbers are there such that the sum of the tens and unit digits (answered by Edwin McCravy)
1) A warehouse contains 200 shoes of size 8, 200 shoes of size 9 and 200 shoes of size... (answered by psbhowmick)
A number is totally even if all its digits are even for instance the number 2022 is... (answered by ikleyn)
Suppose repetitions are not allowed. Answer the following: a) Find how many three-digit... (answered by ewatrrr)
I saw this solution online from a tutor (ikelyn). I think there's a mistake in it and i... (answered by math_tutor2020,ikleyn)
How many whole numbers are there, such that if its digits are reversed and then... (answered by Fombitz)
How many three-digit counting numbers are there that are less than 300 such that all the... (answered by Zoop)
three-digit numbers are formed using the digits 2, 4, 5, and 7, with repetition of digits (answered by greenestamps)