Let (respectively, ) be the number of 5-digit integers obtained by using the digits 1, 2, 3, 4, 5 with repetitions (respectively, without repetitions) such that the sum of any two adjacent digits is odd. Then is equal to
KVPY 2018MathematicsSingle correct+2 / -0.5
Mathematics, question 62
From KVPY 2018 · Stream SA
Answer and worked solutionTry it first, then open this to check your working.
Official answerC
Worked solution
Two adjacent digits have an odd sum only if one is odd and one is even. So the parities must alternate. The digits 1, 3, 5 are odd (3 of them) and 2, 4 are even (2 of them).
With repetition:
- pattern OEOEO:
- pattern EOEOE:
So .
Without repetition: only OEOEO fits, using all three odd and both even digits, so .
Hence .
(C)
Practise this topic
Every past question tagged to the same part of the syllabus, with solutions.