"Legendre's conjecture, proposed by Adrien-Marie Legendre, states that there is a prime between $n^2$ and $(n + 1)^2$ for every positive integer $n$" (https://en.m.wikipedia.org/wiki/Legendre%27s_conjecture)
But there is also the proofed Bertrand's postulate:
"Bertrand's postulate is a theorem stating that for any integer $n > 1$, there always exists at least one prime number $p$ with $n < p < 2n$"
(https://en.m.wikipedia.org/wiki/Bertrand%27s_postulate)
My problem is that, with Bertrand's postulate, it seems logical that the Legendre's conjecture is also true, because the range from $k$ to $2k$ is smaller then the range from $n^2$ to $(n+1)^2 = n^2 + 2n + 1$. So if you choose $k = n^2$ there will always be a prime.
But until now the conjecture of Legendre is unproved, that's why I probably made a thinking error. But I don't know where the mistake in my logic is.
Actually$$\frac{(n+1)^2}{n^2}=1+\frac2n+\frac1{n^2}<2$$if $n>2$. In other words, $(n+1)^2<2n^2$ if $n>2$. So, in fact, the gap is smaller.