If nPr=nPr+1 and nCr=nCr−1, then the values of n and r are
If nCr = nCr−1 and nPr = nPr+1, then the value of n is