If nPr = 840, nCr = 35, then n is equal to
1
3
5
7
nPrnCr = 24⇒r! = 24⇒r = 4
∴nC4 = 35⇒n = 7
If nCr = nCr−1 and nPr = nPr+1, then the value of n is