check if F(n)==1 and T(n)==0