Representing integers as the sum of two squares in the ring $\Bbb Z_n$
Journal of integer sequences, Tome 17 (2014) no. 7.

Voir la notice de l'article provenant de la source Electronic Library of Mathematics

Summary: A classical theorem in number theory due to Euler states that a positive integer $z$ can be written as the sum of two squares if and only if all prime factors $q$ of $z$, with $q \equiv 3$ (mod 4), occur with even exponent in the prime factorization of $z$. One can consider a minor variation of this theorem by not allowing the use of zero as a summand in the representation of $z$ as the sum of two squares. Viewing each of these questions in $Z_{n}$, the ring of integers modulo $n$, we give a characterization of all integers $n \ge 2$ such that every $z \in Z_{n}$ can be written as the sum of two squares in $Z_{n}$.
Classification : 11E25, 11A07
Keywords: sums of squares, ring of integers modulo n, congruence
@article{JIS_2014__17_7_a2,
     author = {Harrington, Joshua and Jones, Lenny and Lamarche, Alicia},
     title = {Representing integers as the sum of two squares in the ring $\Bbb Z_n$},
     journal = {Journal of integer sequences},
     publisher = {mathdoc},
     volume = {17},
     number = {7},
     year = {2014},
     language = {en},
     url = {http://geodesic.mathdoc.fr/item/JIS_2014__17_7_a2/}
}
TY  - JOUR
AU  - Harrington, Joshua
AU  - Jones, Lenny
AU  - Lamarche, Alicia
TI  - Representing integers as the sum of two squares in the ring $\Bbb Z_n$
JO  - Journal of integer sequences
PY  - 2014
VL  - 17
IS  - 7
PB  - mathdoc
UR  - http://geodesic.mathdoc.fr/item/JIS_2014__17_7_a2/
LA  - en
ID  - JIS_2014__17_7_a2
ER  - 
%0 Journal Article
%A Harrington, Joshua
%A Jones, Lenny
%A Lamarche, Alicia
%T Representing integers as the sum of two squares in the ring $\Bbb Z_n$
%J Journal of integer sequences
%D 2014
%V 17
%N 7
%I mathdoc
%U http://geodesic.mathdoc.fr/item/JIS_2014__17_7_a2/
%G en
%F JIS_2014__17_7_a2
Harrington, Joshua; Jones, Lenny; Lamarche, Alicia. Representing integers as the sum of two squares in the ring $\Bbb Z_n$. Journal of integer sequences, Tome 17 (2014) no. 7. http://geodesic.mathdoc.fr/item/JIS_2014__17_7_a2/