The correct option is D 7
Number of triangles formed using the vertices of a regular polygon of n sides =nC3
Given, Tn+1−Tn=21
=>(n+1)C3−nC3=21
=>nC2+nC3−nC3−21 Since, (n+1)Cr=nCr−1+nCr
=>n!2!(n−2)!=2 Since (nCr=n!r!(n−r)!)
=>n×(n−1)×(n−2)!2×(n−2)!=21
=>n2−n=42
=>n2−n−42=0
=>n2−7n+6n−42=0
=>n(n−7)+6(n−7)=0
=>n=7 or −6
Since, n cannot be negative, n=7