I know that in an RLC circuit the resonant frequency is the one that makes the total impedance purely resistive.
The impedance is $$ Z = R + \frac{\omega L}{1-\omega^2 LC}j $$,
So if I want to make purely resistive therefore making the imaginary part I zero, I can't get the $\omega_0 = 1\sqrt{LC}$ which I know is correct!