Studying number theory with deep learning: a case study with the Möbius and squarefree indicator functions
arXiv:2502.10335
Abstract
Building on work of Charton, we train small transformer models to calculate the Möbius function and the squarefree indicator function . The models attain nontrivial predictive power. We apply a mixture of additional models and feature scoring to give a theoretical explanation.