Proof.
Our first step is to give a formula for

. The idea is
very simple: using the expression (
1)
for

, for each possible value of

, there are three
possibilities:
-
, in which case
produces a single point,
, on
;
is a square in
, in which case
produces
two points on
:
and
, where
and
are the two square roots of
in
;
is not a square in
, in which case
produces no point on
.
Additionally, we have to count the point at infinity (the zero in
the group),

.
Using the Legendre symbol
we can write
Fix a non-square number
. Next, for the given curve
we define the elliptic curve
:
or, in Weierstrass form,  |
|
It is immediate that

is an elliptic curve defined over

.
Similarly to what we did above we can count the points on
as
follows. For each
in
there are three possibilities
--here we will use the expression
for
--:
-
, in which case
produces a single point on
;
is a square in
, in which case
produces
no points on
, since otherwise
would be a square in
;
is not a square in
, in which case
is a square3 and it has
two square roots
,
so that
contributes the two
points
and
.
We can rewrite these conditions using the Legendre symbol:
All together, we have
as wanted.