How many digits are there which are either immediately followed by a digit divisible by 3 or immediately preceded by a digit divisible by 5? 8 3 7 5 2 3 6 7 2 5 9 6 3 5 4 1 0 5 6 7 3 2?
Answers
Answered by
35
there r 8 digits they are (8,2,3,9,6,4,6,7)
Answered by
8
The set of all such numbers would be 8 2 3 5 9 6 4 5 6 7
Numbers which are immediately followed by a number divisible by 3 are:
8 2 3 5 9 6 5 7
Also, numbers which are immediately preceded by a number divisible by 5 are:
2 9 4 6
The number which are followed by number divisible by 3 and also preceded by number divisible by 5 are:
2 9
Combining the set 1 and 2 and taking elements of set 3 one time gives us the set of digits there which are either immediately followed by a digit divisible by 3 or immediately preceded by a digit divisible by 5 i.e.
8 2 3 5 9 6 4 5 6 7
Similar questions