The number of ways of choosing triplet (x,y,z) such that z>max of (x,y) and x,y,z∈{1,2,...,n,n+1} is
A
n+1C3+n+2C3
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
n(n+1)(2n+1)6
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
n+3C3
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
2(n+2C3)−n+1C2
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution
The correct options are Bn(n+1)(2n+1)6 D2(n+2C3)−n+1C2 When z=n+1, we can choose x,y from {1,2,...,n}. When z=n+1,x,y can be chosen in n2 ways and when z=n,x,y can be chosen in (n−1)2 ways and so on. Therefore, the number of ways of choosing triplets is
n2+(n−1)2+....+12=16n(n+1)(2n+1)
Alternate Solution: Possiblilities of the triplets are x=y<z,x<y<z,y<x<z can be chosen in n+1C2,n+1C3,n+1C3 ways. Therefore number of ways =n+1C2+2(n+1C3)=n+2C3+n+1C3=2(n+2C3)−n+1C2