I want to have a proof of the fact that each prime number is the sum of a square and three times a square (Euler).
Context
I read the answer to my former question about the number of points on an elliptic curve over $\mathbb F_p$, and in the answer $p=a^2+3b^2$ is used.
I have looked in a Latin version of Gauss' Disquisitiones but I'm not familiar with Latin. And there are a lot of relations between (prime) numbers and squares but I can't see which one will lead to a prove of this question.
You might like David A. Cox, Primes of The Form $x^2 + n y^2$
Anyway, if you believe in quadratic reciprocity, $(-3|p) = (p|3)$ which you are saying is $1.$ The equation uses $3 \equiv 3 \pmod 4.$ That is, $(-7|p) = (p|7),$ but don't replce the $7$ by $5.$ So we can solve $$ \beta^2 \equiv -12 \pmod p. $$ Now, if $\beta$ is odd, replce it by $b=p-\beta$ which is even, so now $$ b^2 \equiv -12 \pmod {4p}. $$ So $$ b^2 = -12 + 4pc $$ and $$ b^2 - 4pc = -12. $$ There is a (positive) binary quadratic form $$ \langle p,b,c \rangle $$ This reduces to $$ \langle 1,0,3 \rangle $$ The inverse of the 2 by 2 matrix that accomplishes the reduction gives a representation of $p=u^2 + 3 v^2,$ as the left column.