Suppose I have the following Weierstrass equation:
$y^2-y=x^3-x$. I want to make a change of variable to get the form $y^2=x^3+ax+b$. In Milne's book, p.50, we have the following statement:
"Let $E$ be an elliptic curve over $k$. Any equation of the form
$Y^2 Z+a_1 XYZ+ a_3Y Z^2 +a_3YZ^2 =X^3 + a_2X^2Z + a_4XZ^2 + a_6Z^3$
is called a Weierstrass equation for the elliptic curve. When k has characteristic $\neq 2,3$ a change of variables $X' = X +a_2/3; Y'= Y + a_3/2 ; Z'=Z$
will then eliminate the $X^2$ and $Y^2$ terms. Thus we get the form $y^2=x^3+ax+b$"
I applied directly this technique. I wrote $x'=x-1/3, y'=y-1/2$.
i.e. $x=x'+1/3$ and $y=y'+1/2$. Replacing this in $y^2-y=x^3+x$, I get $y^2=x^3-x/3+19/108$
However, I thought the coefficients had to be in $\mathbb{Z}$. I need them in $\mathbb{Z}$ because I want to use Lutz Nagell to find the torsion points.