Euclidean floor-sum transformation
ID: euclidean-floor-sum-transformation
For integers , , write . Euclidean division gives and , with , henceFor and , put . Interchanging the two axes in the remaining lattice point problem givesIf , the original sum is zero; if after reduction, it is also zero. Each swap lowers the modulus as in the Euclidean algorithm, enabling logarithmically many reduction stages. For example , and the swapped sum gives the same answer.
New to topics? Read the docs here!