Gould, H. W. “The $q$-Series Generalization of a Formula of Sparre Andersen”. MATHEMATICA SCANDINAVICA, vol. 9, Dec. 1961, pp. 90-94, doi:10.7146/math.scand.a-10626.