All Exams Test series for 1 year @ ₹349 only
Question

How many 3's are there in the following sequence which are neither preceded by 6 nor immediately followed by 9?

9, 3, 6, 6, 3, 9, 5, 9, 3, 7, 8, 9, 1, 6, 3, 9, 6, 3, 9

The correct answer is

Two

The problem asks us to find the number of times the digit '3' appears in a given sequence, subject to two conditions:

  1. The '3' must not be preceded by the digit '6'.
  2. The '3' must not be immediately followed by the digit '9'.

Let's look at the given sequence:

\(9, 3, 6, 6, 3, 9, 5, 9, 3, 7, 8, 9, 1, 6, 3, 9, 6, 3, 9\)

We need to identify each occurrence of '3' in the sequence and check if it satisfies both conditions. A '3' is counted only if both conditions are true.

Analyzing Each Occurrence of '3' in the Sequence

Let's examine each '3' one by one:

  • The first '3' is at the second position. It is preceded by '9' and followed by '6'.
    • Condition 1: Is it not preceded by '6'? Yes, it is preceded by '9'. (Condition met)
    • Condition 2: Is it not immediately followed by '9'? Yes, it is followed by '6'. (Condition met)
    • This '3' meets both conditions.
  • The second '3' is at the fifth position. It is preceded by '6' and followed by '9'.
    • Condition 1: Is it not preceded by '6'? No, it is preceded by '6'. (Condition not met)
    • Condition 2: Is it not immediately followed by '9'? No, it is followed by '9'. (Condition not met)
    • This '3' meets neither condition.
  • The third '3' is at the ninth position. It is preceded by '9' and followed by '7'.
    • Condition 1: Is it not preceded by '6'? Yes, it is preceded by '9'. (Condition met)
    • Condition 2: Is it not immediately followed by '9'? Yes, it is followed by '7'. (Condition met)
    • This '3' meets both conditions.
  • The fourth '3' is at the fifteenth position. It is preceded by '6' and followed by '9'.
    • Condition 1: Is it not preceded by '6'? No, it is preceded by '6'. (Condition not met)
    • Condition 2: Is it not immediately followed by '9'? No, it is followed by '9'. (Condition not met)
    • This '3' meets neither condition.
  • The fifth '3' is at the eighteenth position. It is preceded by '6' and followed by '9'.
    • Condition 1: Is it not preceded by '6'? No, it is preceded by '6'. (Condition not met)
    • Condition 2: Is it not immediately followed by '9'? No, it is followed by '9'. (Condition not met)
    • This '3' meets neither condition.

Based on our analysis, the '3's that satisfy both conditions (not preceded by 6 AND not immediately followed by 9) are the first and the third occurrences of '3' in the sequence.

Let's summarize:

  • The '3' at index 1 (9, 3, 6): Preceded by 9, Followed by 6. Conditions met.
  • The '3' at index 4 (6, 3, 9): Preceded by 6, Followed by 9. Conditions not met.
  • The '3' at index 8 (9, 3, 7): Preceded by 9, Followed by 7. Conditions met.
  • The '3' at index 14 (6, 3, 9): Preceded by 6, Followed by 9. Conditions not met.
  • The '3' at index 17 (6, 3, 9): Preceded by 6, Followed by 9. Conditions not met.

There are exactly two '3's that satisfy both conditions.

Final Count

Counting the valid '3's, we find there are Two such digits in the sequence that are neither preceded by 6 nor immediately followed by 9.

Was this answer helpful?

Important Questions from Number Arrangement

  1. Six friends A, B, C, D, E and F are sitting in two lines, facing the north. Three persons are sitting in each line. F is sitting in the middle. C is just behind B. D is to the immediate right of E. B is to the immediate left of F. Which three persons are sitting in the same line?

  2. Refer to the following series and answer the question (all numbers are single digit numbers only).

    (Left) 1 2 6 5 6 8 1 5 8 6 9 8 3 3 5 8 9 4 7 8 (Right)

    How many such even digits are there, each of which is immediately preceded by an odd digit and also immediately followed by an odd digit?

  3. Each of the digits in the number 9362145 is arranged in ascending order from left to right. What will be the sum of the digits which are second from the left and third from the right in the number thus formed?

  4. If 1 is added to each odd digit and 2 is subtracted from each even digit in the number 3842675, how many digits will appear more than once in the new number thus formed?

  5. Refer to the following number and symbol series and answer the question that follows. Counting to be done from left to right only.

    (Left) @ * $ 3 8 9 % + 7 > 6 # < % % ? 6 2 $ / 6 (Right)

    How many such numbers are there, each of which is immediately preceded by a symbol and also immediately followed by a symbol?

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App