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?
7 3 2 7 6 5 4 8 7 6 3 2 3 5 4 3 7 6 3 2
Ten
Nine
Four
Two
Eight
Combinations to be made either is digit divisible by 5 (digit) or (digit) digit divisible by 3. So,total combinations are 10