Eqs. (29) and (31):  the index k has the values k=0,...,|m-1|-1