Let $n_p$ be number of the elements of order $p$ in a group $G$.
My motivation is that if $n_2\ge\dfrac 34 |G|$ then $G$ is $2$-group. You can check it from this.
Is there such general bound for $n_p$ to conclude $G$ is a $p$-group?
Let $n_p$ be number of the elements of order $p$ in a group $G$.
My motivation is that if $n_2\ge\dfrac 34 |G|$ then $G$ is $2$-group. You can check it from this.
Is there such general bound for $n_p$ to conclude $G$ is a $p$-group?
Yes such general bound actually does exist. It was proved by Thomas J. Laffey in "The number of solutions of $x^p=1$ in finite groups". That theorem states:
If $n_p > \frac{p}{p + 1} |G|$ then $G$ is a $p$-group
Note, that for $p = 2$ this theorem yields a result, stronger, than yours (namely $\frac{2}{3}$ instead of $\frac{3}{4}$)