Let m (respectively, n) 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 mn is equal to
A
9
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
12
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
15
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
18
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is C 15 Given : The digits are 1,2,3,4,5 So number of even digits =2 So number of odd digits =3 when the sum of two adjacent digits are odd, so one is even one is odd.
Case 1 : repetitions is not allowed [n] OEOEO is only arrangement possible (O - odd number, E - evn number) so n=3×2×2×1×1=12
Case 2 : repetition is allowed [m] OEOEO so m=3×2×3×2×3=108 EOEOE so m=2×3×2×3×2=72 total m=108+72=180