This is the partition problem as applied to a special set, namely the first $n$ $k$th powers. Assume the notation,
$$[a_1,a_2,\dots,a_n]^k = a_1^k+a_2^k+\dots+a_n^k$$
I. Family 1
The following infinite family is quite well-known,
$$[1,\color{blue}{4}]^1 = [2,3]^1$$
$$[1,4,6,7]^2 = [2,3,5,\color{blue}{8}]^2$$
$$[1,4,6,7,10,11,13,\color{blue}{16}]^3 = [2,3,5,8,9,12,14,15]^3$$
and so on, for a partition of the $k$th power of the first $\color{blue}{4,8,16,32,64} = 2^{k+1}$ positive integers. (See also this post.)
II. Family 2
However, it can be noticed that,
$$[1, \color{brown}{4}]^1 = [2, 3]^1$$
$$[1, 2, 4, \color{brown}{7}]^2 = [3, 5, 6]^2$$
$$[1, 2, 4, 8, 9, \color{brown}{12}]^3 = [3, 5, 6, 7, 10, 11]^3$$
$$[1, 6, 9, 11, 12, 14, 15, 16, 17]^4 = [2, 3, 4, 5, 7, 8, 10, 13, 18, \color{brown}{19}]^4$$
$$[1, 5, 7, 8, 12, 14, 17, 18, 19, 20, 22, 24, 25, 26]^5 = [2, 3, 4, 6, 9, 10, 11, 13, 15, 16, 21, 23, 27, \color{brown}{28}]^5$$
and so on, with the sequence $\color{brown}{4,7,12,19,28} = k^2+3.$ (For $k=3$, see this post.)
Questions:
- Is it true that there is a partition of the $k$th power of the first $k^2+3$ positive integers such that the sum of each set is equal?
- Is $k^2+3$ the minimum number of consecutive terms, or can there be a third family with a smaller number of terms for higher $k$?
- What is the partition of the first $n$ $6$th powers with $n\leq6^2+3$?
$\color{red}{Update:}$
It turns out $k^2+3$ is not the minimum number $n$ for higher $k$. I used Mathematica to check,
$$\sum_{m=1}^n \epsilon\, m^k = 0$$
where $\epsilon = \pm1$. For $k=1,2,3$, we find $n = 4,7,12$ as in the second family. However, $k=4$ has a smaller solution at $n=16$,
$$[1, 2, 3, 4, 8, 9, 10, 11, 12, 16]^4 = [5, 6, 7, 13, 14, 15]^4$$
and $k=5$ also has one at $n=24$,
$$[1, 2, 5, 7, 10, 13, 14, 15, 19, 20, 21, 23]^5 = [3, 4, 6, 8, 9, 11, 12, 16,17, 18, 22, 24]^5$$
Presumably for $k=6$, it should be $28\leq n<<39$, but my Mathematica code is too slow for $n>28$. (The Wikipedia link above gives a pseudo-polynomial time algorithm, maybe some interested soul might be interested to implement it.)
It seems there might be several families then, and it would be nice to find a unifying principle like in the first family.