Dirdal, G. “On Restricted $m$-Ary Partitions”. MATHEMATICA SCANDINAVICA, vol. 37, Dec. 1975, pp. 51-60, doi:10.7146/math.scand.a-11587.