Problem 829 · Hard
Count run lengths k for which n minus the triangular offset splits evenly into k equal parts.
Open the interactive visualisation