arXiv · 2502.10335
Studying number theory with deep learning: a case study with the Möbius and squarefree indicator functions
Abstract
Building on work of Charton, we train small transformer models to calculate the Möbius function $μ(n)$ and the squarefree indicator function $μ^2(n)$. The models attain nontrivial predictive power. We apply a mixture of additional models and feature scoring to give a theoretical explanation.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
David Lowry-Duda. 2025-07-25. Studying number theory with deep learning: a case study with the Möbius and squarefree indicator functions. https://arxiv.org/abs/2502.10335
Cite the original work for its findings. Save a collection to share your selection of sources.