Out of 9 equal weights, one is faulty (lighter). Find the least number of weighing required to identify a faulty weight using a two pan balance.
I came across this similar type of question posted here long back and I used the relation it mentioned :-
"In my module they have given some sort shortcut to evaluate the result which is for $n$ bags: In first case if $3^a \lt n \lt 3^{a+1}$, then the minimum number of weighing required is $a+1$. In the second case, we need $2^a \lt n \lt 2^{a+1}$ which gives the minimum of $a+1$ weighing."
when I put 9 in the equation $3^a \lt 9 \lt 3^{a+1}$ and solve it, I get a<2 and a>1 which does not give a reasonable answer because it should be an integer answer right? Where I am going wrong?