Before I build anything I want to say what kind of statement this is. It is a family of existence claims indexed by n: the set has three n elements, I have three boxes, every element is handed to exactly one box, and the three running totals have to match at the end. So it is a partition question, not a pairing or a counting question, and the word split is doing work: the three subsets have to exhaust the set, not merely be disjoint from each other.
The second thing I notice is that no condition on n is stated at all, so deciding which n the claim can hold for is part of the question. In an interview I read it that way. I am not going to quietly prove the statement for the cases I happen to reach; I will find the smallest n for which it can be true, and I will start by testing n equals one out loud, because that is where a hidden restriction shows up.
If the three boxes tie, each one holds exactly a third of the total, so the target is T equals n times three n plus one, over two. Notice straight away what is not an obstruction. Divisibility looks worrying, but one of n and three n plus one is always even: if n is even the factor n carries the two, and if n is odd then three n plus one is even, so T is a genuine integer for every n without exception. I computed n from one to twelve: the total S is a multiple of three in all twelve rows, so no congruence condition on n is needed here.
The real obstruction is a different one, and it is a size constraint. The largest element, three n, has to sit inside some box, and no box may exceed T. So I need three n at most T, which after multiplying out is six at most three n plus one, so n at least five thirds, so n at least two.
Look at the first column: at n equals one the target is two, but the set already contains three. That is not a gap in my method, it is a counterexample, and it means the honest theorem starts at n equals two. If I came back with a proof that worked for all n I would have proved something false.
Here is the one idea the whole proof runs on, and it is the symmetry the question is fishing for. Take any six consecutive integers, written as m plus one through m plus six, and pair them mirror-wise: first with last, second with fifth, third with fourth. Each pair straddles the centre of the block, so each pair has the same sum, two m plus seven.
Read it off the drawing for the block starting at one: the pairs are one with six, two with five, three with four, and all three sum to seven. Now slide the same six-window up to seven through twelve and the arithmetic repeats with a different constant: seven with twelve, eight with eleven, nine with ten, all nineteen. The block does not care where it sits; only its starting position m enters the sum.
So a block of six is a small machine. Hand its three pairs to the three boxes, one apiece, and every box gains exactly the same amount, which means a tie that held before still holds afterwards. Everything from here on is just feeding blocks to that machine, and that is also why the induction has to move in steps of six elements, that is, in steps of two in n.
Two cases, decided by the parity of n, and the parity is forced by the shape of the set. If n is even, then three n is a multiple of six, so the whole set one through three n is exactly n over two consecutive blocks of six. I deal each block one pair to each box, and since the pairs inside a block all tie, the three boxes stay level all the way through.
If n is odd, three n is three more than a multiple of six, so a six-block sweep from one leaves three elements stranded at the end and the whole construction fails by three. The repair is to peel nine elements off the front instead of three: one, five, nine for the first box, two, six, seven for the second, three, four, eight for the third, each summing to fifteen. From ten onwards the remainder is again clean blocks of six, because ten through three n holds three times n minus three elements and n minus three is even.
Equivalently, and this is the form I want to hand in: the induction runs in steps of two. Going from n to n plus two adds exactly the six elements three n plus one through three n plus six, and the mirror pairing of that block, with m equals three n, gives three pairs each summing to six n plus seven. One pair per box, so the three totals, which were equal, all climb by the same amount and remain equal. For n equals two that constant is nineteen, and the drawing shows the resulting split of one through twelve into three boxes of twenty six.
Numbers before theorems, and from a program rather than from mental arithmetic. At n equals two the rule gives one-six, two-five, three-four, each box holding seven, which is the target. At n equals three the head nine gives one-five-nine, two-six-seven, three-four-eight, each fifteen. At n equals four the two blocks stack to twenty six, at n equals five the head plus one block gives forty, at n equals six three blocks give fifty seven.
Three separate things were checked mechanically on every row, not eyeballed: the boxes are pairwise disjoint, their union is exactly one through three n with no element repeated, and all three sums equal n times three n plus one over two. I ran that audit from n equals two all the way to n equals twelve, and I also built each split twice: once by the parity rule and once by iterating the induction step from its base case, and the two routes returned identical boxes.
Then an independent search, which knows nothing about my construction, answered the existence question directly for n from one to twelve: a split exists for every n at least two and does not exist for n equals one. So the range I guessed from the inequality is the range that is actually true, and my rule is not quietly missing cases in between.
Now the proof as an induction, with its structure spelled out rather than implied. Base one: n equals two, the split one-six, two-five, three-four, three boxes of seven. Base two: n equals three, the split one-five-nine, two-six-seven, three-four-eight, three boxes of fifteen. Both are on the board and both were checked by addition, not by eye.
Step: assume a level split of one through three n for some n at least two, and look at one through three n plus six. The six newcomers are three n plus one through three n plus six; paired mirror-wise they give three pairs each summing to six n plus seven, and one pair goes to each box. So the three totals, equal by hypothesis, each gain six n plus seven and stay equal. And that increment is exactly the target at n plus two minus the target at n, which I have just verified algebraically on the board. That is the whole induction.
Two base cases are not fussiness, they are forced by the step size: advancing by two preserves parity, so the n equals two base only ever reaches even n and the n equals three base only ever reaches odd n. With one base case I would have proved half the theorem and written down more than I had earned.
And why not a step of one, which is what everyone tries first? From n to n plus one the target rises by three n plus two per box, but only three elements arrive: three n plus one, three n plus two, three n plus three. The only subset of those three that sums to three n plus two is the singleton middle one, so at most one box can be paid correctly and the other two are left with nothing legal. I had the computer enumerate every way of dealing those three elements to three boxes for n from one to eight: zero succeed. The step of two is not a preference, it is the smallest thing that can work, and six elements is exactly one block of the pairing.
So the statement I can hand back is sharper than the one on the screen: for every integer n at least two, the set one through three n splits into three disjoint parts of equal sum, namely the quantity n times three n plus one, all over two, in each part, and n equals one is the only exception, because its target sum two cannot even hold its own largest element. The range is part of handing back an answer, so I fix it out loud before writing the proof.
The construction also gives something for free. Each box receives exactly one pair from every block, so it finishes with exactly n elements: equal sums and equal sizes at once, and the whole thing is a linear-time recipe, not an existence argument. If the examiner wants the parts non-empty, or of equal cardinality, or an explicit algorithm, I already have all three.
And the pairing travels. For k boxes of one through k n, pair the 2k consecutive integers mirror-wise; for k equals three that is the two m plus seven we used. Then induct in steps of k. I ran the existence question for k equals two, three, four and five. For odd k the only failure is n equals one, exactly as here, because one of n and k n plus one is even. For even k there is a real congruence obstruction: the target, that is the quantity n times k n plus one all over two, stops being an integer when n is odd, and indeed every odd n fails. That is where a condition on n legitimately comes from, and it is absent from this question precisely because three is odd.
Because my step is not the usual one. I proved that P at n implies P at n plus 2 rather than P at n plus 1 and a step of two cannot change parity, so the chain starting at n equals two only ever visits even n and the chain starting at n equals three only ever visits odd n. Neither reaches the other.
Formally this is strong induction on the ordered set of n at least two, or equivalently two inductions, one on the even subsequence n equals 2r and one on the odd subsequence n equals 2r plus one, each with a step of one in r. Two bases is the price of a step of two.
And the step of two is not a choice I made for elegance: with only three new elements arriving at a step of one, each box would need an increment of three n plus two and the elements are three n plus one, three n plus two, three n plus three. Only the middle one is payable, so two boxes go unpaid. I enumerated all deals for n up to eight and none of them works.
Yes, and the construction gives it without extra work. Every box receives exactly one pair from each block of six, and the head case for odd n gives one triple to each box, so each box ends with n elements. Since there are three n elements in total, that is the only possible equal size anyway.
I checked it by machine for n from two to twelve: the three boxes have cardinalities n, n, n in every row, alongside the equal sums. For instance at n equals six the boxes are one-six-seven-twelve-thirteen-eighteen, two-five-eight-eleven-fourteen-seventeen, three-four-nine-ten-fifteen-sixteen: six elements each, fifty seven each.
What the question does not require is that the boxes look alike in any stronger sense: the subsets are not translates of each other, and for odd n the head triple pattern is genuinely different in shape from the pair pattern. If asked for equal sums and equal sizes and equal spacing, I would have to say the last of those is not free.
Then the parity of the number of boxes starts to matter, and that is the real lesson of the generalisation. Pair eight consecutive integers mirror-wise: one with eight, two with seven, three with six, four with five, four pairs, each summing to two m plus nine. So the same engine runs with a step of four in n, and a step of four means one base case per reachable residue class mod four; since the odd classes turn out to be impossible, the bases I would need are n equals two and n equals four, not the full set two, three, four, five.
But before any of that, the target has to exist. For k boxes the target is the quantity n times k n plus one, all over two, and with k equals four that is n times four n plus one, all over two; four n plus one is always odd, so the product is even only when n is. Half the values of n are ruled out by divisibility, which never happens for k equals three.
I ran the existence search for k equals four over n from one to nine: exactly the odd n fail, one, three, five, seven and nine, and every even n admits a split. For k equals five, odd again, only n equals one fails over n from one to eleven. So the rule is: odd k, one exception at n equals one; even k, all odd n lost to divisibility.