We know that nCrn−1Cr−1=nr
R1=npn−1Cp−1, np+1n−rCp−1, np+2n−1Cp+1
Similarly we can write
R2=n+1pnCp−1, n+1p+1nCp, n+1p+1nCp+1
R3=n+2pn+1Cp−1, n+2p+1n+1Cp, n+2p+2n+1Cp+1
Taking n n+1 n+2 common from R1, R2 and R3 and 1p, 1p+1, 1p+2 common from C1, C2 and C3
D(n,p)=(n+2)(n+1)n(p+2)(p+1)p.D(n−1,p−1)
=n+2C3(p+2)C3.D(n−1,p−1)