Representing integers as the sum of two squares in the ring \(\mathbb Z_n\)
Journal of integer sequences, Tome 17 (2014) no. 7
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
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 \(\mathbb {Z_n\)}},
journal = {Journal of integer sequences},
year = {2014},
volume = {17},
number = {7},
zbl = {1316.11028},
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 \(\mathbb Z_n\) JO - Journal of integer sequences PY - 2014 VL - 17 IS - 7 UR - http://geodesic.mathdoc.fr/item/JIS_2014__17_7_a2/ LA - en ID - JIS_2014__17_7_a2 ER -
Harrington, Joshua; Jones, Lenny; Lamarche, Alicia. Representing integers as the sum of two squares in the ring \(\mathbb Z_n\). Journal of integer sequences, Tome 17 (2014) no. 7. http://geodesic.mathdoc.fr/item/JIS_2014__17_7_a2/