GATE 2023 IN – Question 3
A ‘frabjous’ number is defined as a 3 digit number with all digits odd, and no two adjacent digits being the same. For example, 137 is a frabjous number, while 133 is not. How many such frabjous numbers exist?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (D) 80
Explanation
Each digit is chosen from 1, 3, 5, 7, 9. The first has 5 choices; each later digit has 4 choices because only its immediate predecessor is excluded. The first and third may match. Total $5(4)(4)=80$, **D**.