Deprecated: $wgMWOAuthSharedUserIDs=false is deprecated, set $wgMWOAuthSharedUserIDs=true, $wgMWOAuthSharedUserSource='local' instead [Called from MediaWiki\HookContainer\HookContainer::run in /var/www/html/w/includes/HookContainer/HookContainer.php at line 135] in /var/www/html/w/includes/Debug/MWDebug.php on line 372
Representing integers as the sum of two squares in the ring \(\mathbb Z_n\) - MaRDI portal

Representing integers as the sum of two squares in the ring \(\mathbb Z_n\) (Q2877901)

From MaRDI portal





scientific article; zbMATH DE number 6335161
Language Label Description Also known as
English
Representing integers as the sum of two squares in the ring \(\mathbb Z_n\)
scientific article; zbMATH DE number 6335161

    Statements

    0 references
    0 references
    0 references
    28 August 2014
    0 references
    sums of squares
    0 references
    ring of integers modulo \(n\)
    0 references
    congruence
    0 references
    math.NT
    0 references
    Representing integers as the sum of two squares in the ring \(\mathbb Z_n\) (English)
    0 references
    A classical theorem by 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 \pmod 4\) occur with even exponent in the prime factorization of \(z\). A somewhat natural question to ask is what positive integers \(z\) can be written as the sum of two nonzero squares? A partial answer is given by \textit{G. H. Hardy} and \textit{E. M. Wright} [An introduction to the theory of numbers. Oxford: Clarendon Press (1938; Zbl 0020.29201)]: for an integer \(n > 1\) there exist \(u, v \in \mathbb{Z}\), with \(\gcd(u, v) = 1\), such that \(n = u^2 + v^2\) if and only if \(-1\) is a quadratic residue modulo \(n\). The same question can be also addressed in the ring \(\mathbb{Z}_n\). In the paper under review the authors characterize, in a precise manner, the values of \(n\) such that every element in \(\mathbb{Z}_n\) can be written as the sum of two nonzero squares. For the sake of completeness, the values of \(n\) such that every \(z \in \mathbb{Z}_n\) can be written as the sum of two squares where the use of zero is allowed as a summand in such a representation of \(z\) is also provided.
    0 references

    Identifiers