Variations on a theme of Boole and Stein-Weiss