Weighted averages of arithmetic functions and applications to equidistribution and ergodic theory math.NT · 2026-04-08