Digit sums and generating functions
We connect a primitive operation from arithmetic -- summing the digits of a base-$B$ integer -- to $q$-series and product generating functions analogous to those in partition theory. We find digit sum generating functions to be intertwined with distinctive classes of "$B$-ary" Lambert series, which themselves enjoy nice transformations. We also consider digit sum Dirichlet series.