Given:
T4=500
Let a= first term
r=common ratio =m1,m∈N
So,
ar3=500
⇒m3a=500
Now,
Sn−Sn−1=arn−1
S6>S5+1
⇒S6−S5>1
⇒m5a>1
⇒m3a×m21>1
⇒m2500>1
⇒m2<500...(1)
And,
S7−S6<21
⇒m6a<21
⇒m3a×m32<1
⇒500×m32<1
⇒m3>103
⇒m>10....(2)
From (1) and (2), we have
m=11,12,13…………..,22
So, number of possible values of m is 12.