English

Factorials and Legendre's three-square theorem: II

Number Theory 2022-03-31 v1

Abstract

Let Sˉ\bar{S} denote the set of integers nn such that n!n! cannot be written as a sum of three squares. Let Sˉ(n)\bar{S}(n) denote Sˉ[1,n]\bar{S} \cap [1, n]. We establish an exact formula for Sˉ(2k)\bar{S}(2^k) and show that Sˉ(n)=1/8n+O(n)\bar{S}(n) = 1/8*n + \mathcal{O}(\sqrt{n}). We also list the lengths of gaps appearing in Sˉ\bar{S}. We make use of the software package Walnut to establish these results.

Keywords

Cite

@article{arxiv.2203.16469,
  title  = {Factorials and Legendre's three-square theorem: II},
  author = {Rob Burns},
  journal= {arXiv preprint arXiv:2203.16469},
  year   = {2022}
}

Comments

14 pages, 6 figures

R2 v1 2026-06-24T10:32:12.848Z