Let Tn be the number of all possible triangles formed by joining vertices of an n-sided regular polygon. If Tn+1−Tn=10, then the value of N is