Carlitz, L. “A Reciprocity Formula for Weighted Quadratic Partitions”. MATHEMATICA SCANDINAVICA, vol. 1, Dec. 1953, pp. 286-8, doi:10.7146/math.scand.a-10386.