Let S={a∈N,a≤100}. If the equation [Tan2x]−Tanx−a=0 has real roots then number of elements in S is (where [] is step functin).
10
8
9
0
Given equation is true only when Tanx is an integer Tanx=1±√4a+12=4a+1 is perfect square and 4a+1≤401