{"id":"formal-conjectures/OEIS__224","url":"https://github.com/google-deepmind/formal-conjectures/blob/main/FormalConjectures/OEIS/224.lean","repo":"https://github.com/google-deepmind/formal-conjectures","score":0,"title":"OEIS A224: Number of squares $\\bmod n$","domain":"math.NT","source":"formal-conjectures","problem":{"number":"A224","status":"open","collection":"oeis"},"reviews":0,"subject":"math.NT","summary":"The number of squares modulo $n$. This is the cardinality of the set $\\{k^2 \\bmod n \\mid k \\in \\{0, 1, \\dots, n-1\\}\\}$. The number of squares modulo $n$. $n^2 \\equiv 1 \\pmod{a(n)(a(n)-1)}$ if and only if $n$ is an odd prime. - Thomas Ordowski, Jun 08 2017","category":"research","comments":0,"disputed":false,"division":"math","mentions":0,"discussed":0,"reactions":{},"formalized":true}