It is an easy exercise to find the values of a, b and k for n = 6, n = 24, and n = 30. Note that a number n can have several factorizations as a sum-difference number, and furthermore, a single such factorization can arise from different choices of a, b, and k. For example,
We have proven the following