My Question reads:
If $G$ is a group of order $n$, and $G$ has $2^{n-1}$ subgroups, prove that $G=< e>$ or $G$ is isomorphic to $\Bbb Z_2$.
I now understand this question a bit more. I received the suggestion to use Lagrange's theorem but I am not too sure how. I was testing out different $n$ values so say for $n=1$ which would be the case for $G= < e >$, then $2^{1-1}$ is $1$, so there is one subgroup. For the second case $n$ would be two so $2^{2-1}$ is two which makes sense because order of $\Bbb Z_2$ is two. I think something with contradiction could work here but I am unsure of how to approach the proof.