Question 52

How many such 5's are there in the following number sequence each of which is immediately preceded by 3 or 4 but not immediately followed by 8 or 9?
3 5 9 5 4 5 5 3 5 8 4 5 6 7 3 5 7 5 5 4 5 2 3 5 1 0

The 5's preceded by 3 or 4 occur in 3 5 9, 4 5 5, 3 5 8, 4 5 6, 3 5 7, 4 5 2 and 3 5 1. Of these, 3 5 9 and 3 5 8 are followed by 9 and 8, so they are excluded. That leaves 5 such 5's.

Was this solution helpful?

Get AI Help

50,000+ JEE Students Trusted Our Score Calculator

Predict your JEE Main percentile, rank & performance in seconds

Ask AI