Integer equations and multisets are the topics of the problem.

noconsecutiveints.pdf