The Prime Wavelet Tree: Compressing the Carmichael Numbers
arXiv:2610.02550
Abstract
We present two number-theoretic compression techniques. The first is \textit{local}, and compresses individual numbers. The second is \textit{global}, and compresses the entire set of numbers using a \textit{prime wavelet tree}, which is a data structure of independent interest. Our techniques apply to any set of numbers satisfying a Korselt-like criterion. We demonstrate our compression techniques using the recently completed tabulation of all Carmichael numbers less than that occupies gigabytes as text. When combined with standard compression techniques and a heuristic choice of divisors, the resulting file is megabytes ( times smaller than the text file). The initial -bit numbers now use about bits.
arXiv comment10 pages, 2 figures, 2 tables, prepared for DCC