I have this problem:
If $\sqrt{m}$ is irrational, and $m$ is odd, so:
Is $\sqrt{2m}$ always irrational ?
My thought was:
I have a $m$ number, that can be of the form $(2n \pm 1)$, that is square is irrational.
To find a counterexample, I need this:
$2m = x^2$,
then I need an integer, that have perfect square, divided in $2$ is an odd number, that is equal to:
Lets $x$ any integer:
$\frac{x^2}{2} = k$
Then, $k$ must be an integer, since it is divisible by 2 and must be a number of form $(2n \pm1)$ that is $m$.
With these conclusions, I can reform my problem to:
Is there an perfect square, which is divisible by $2$, and this division is an odd number?
I do not ask this directly, because there may be an easier approach, but still this form seems very interesting to me.
PS: I have tested it in programming between $[1, 1000]$ and there is no perfect square, with these characteristics.
Suppose $a^2 = 2k$ for some odd $k$.
If $a$ is odd, then $a^2$ is odd too, so that can't be the case.
However if $a$ is even, then $a=2n$ for some $n$, and $(2n)^2 = 4n^2 = 2k$, so $k=2n^2$ and was not odd after all. So this is also impossible.
Since neither even nor odd integers can be roots of your perfect square, it cannot exist.
In general one can prove that if a prime $p$ divides a perfect square $a^2$, then $p$ also divides $a^2/p$.