Mathematics (JEE)ModerateGATE CS
A path of 5 vertices is coloured with 3 colours so that adjacent vertices get different colours. How many colourings are possible?
- A. 48
- B. 36
- C. 54
- D. 96
Correct answer: A. 48
Colour the first vertex in 3 ways and each of the next 4 in 2 ways (different from the previous vertex): 3 × 2⁴ = 48. Option 96 is 3 × 2⁵, one vertex too many.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many strings of length 6 over {0, 1, 2} have no two consecutive equal symbols?
- How many lattice paths from (0, 0) to (4, 2) using unit steps right and up never rise above the diagonal (every visited point satisfies y…
- How many strings of length 4 over {0, 1} contain no substring 010?
- A staircase of 7 steps is climbed by taking 1 or 2 steps at a time. How many ways are there to reach the top?
- How many 3 × 3 binary matrices have exactly one 1 in each row (and no restriction on columns)?
- A coin with probability 2/3 of heads is tossed 4 times. What is the expected number of heads?