paper

Factorials and Legendre's three-square theorem

arXiv:2101.01567

Abstract

We provide a necessary and sufficient condition for to be a sum of three squares. The condition is based on the binary representation of and can be expressed by the operation of an automaton.

8 pages, 1 table, 1 figure