The solution to N nodes, is their maximum path. These paths all obey a couple logical rules.
A. The only edges followed, are those whose origin was the previous edge's destination.
B. The path utilizes bouncing as often as possible, which is to travel to a node and return from it immediately.
These bounce edges, all connected by a return edge, make an outstretched-hand shape.
C. All the return edges are connected to a some unifying node.
This works until 6 nodes, where an important distinction arises. Two solutions exist for N nodes, depending on whether the nodes begin with equal populations or with unequal populations.
D. The first moves of the solution, is to reduce itself from an N graph of equals, to an N-1 graph of unequals.
For graphs composed of 4 nodes or less, unequals and equals solutions were reflections of each other. The same path, but taken exactly backwards. 5+ nodes break this, and this appears the first time after 6 nodes's initial reduction to 5 nodes.
C+. When beginning with unequals, the solution bounces as much as possible before it creates a unifying node, not after.
With every bouncing, it reduces itself into a simpler graph. The simplest graph is a 4 or 5 graph.
D+. The initial bouncing halts when the graph is reduced to 4 or 5 nodes, then returns to the very start.
E. Whether you have either an odd or even amount of nodes will change when the solution stops bouncing, at reduction to 4 or at reduction to 5.
F. The path cannot go too long without bouncing.
With solutions 7 and up, the final return is too long, and inefficient. Instead, a clever trick creates an incepted solution to 3 during the final return.
G. All paths utilize a certain arrangement to allow this incepted solution to 3 during the final return.
With solutions 9 and up, it can be seen that one incepted solution to 3 is not enough: a bouncing is necessary to add more incepted3-s to continue the final return.
G+. Certain nodes are barred from use, until during the final return, where they are used to continue a chain of incepted3-s.
Also
H. The nodes alternate by jumps of 2, not jumps of 1. It prevents getting stuck in a corner while bouncing.
And, obviously
I. The solution always travels towards the biggest population available, when choosing where to bounce. Duh.
So far, that completes the logic of the paths.
Let's see it in action.
The solution to 2 is a bounce.
The Solution to 3 is a reduction to 2, which then is just a bounce.
The solution to 4 is a reduction to 3, but not the one above. It is the reflection of it.
I will denote the ordering of the paths as a digit string and function.
$(2)=2
$(3)=32
$(4)=423
The solution to 5 is a reduction to 4, and then the reflection of 4.
$(5)=5324
The solution to 6 is a reduction to 5, then bouncing as much as possible until the path hits 4, then it uses the reflection of 4, and is finally followed by the final return.
$(6)=6(5)324R
The solution to 7 is a reduction to 6, then bouncing as much as possible until the path hits 4, then it uses the reflection of 4, and is finally followed by the final return; but it took care to not bounce too much, to allow an incepted3 later, which swapped (6)(5)324 into (6)(4)325
$(7)=7(6)(4)325RR
The solution to 8 is a reduction to 7, then bouncing as much as possible until the path hits 5, then it uses the reflection of 5, and is finally followed by the final return; but it took care to not bounce too much, to allow an incepted3 later, which swapped stuff around a bit.
$(8)=8(7)(5)4326RR
Notice that instead of the reflection 4235, what followed was 4325 (which later has its 5 swapped with 6). I do not know why 32 refuses to go away from every solution.
The solution to 9 is a reduction to 8, then bouncing as much as possible until the path hits 4, then it uses the reflection of 4, and is finally followed by the final return; but it took care to not bounce too much, to allow an incepted3 later. But the final return is still too long, so took care to reserve a node and its bounces, to create a chain of incepted3s.
$(9)=9(8)(6)(4)325R7RR
And so on
$(10)=10(9)(7)(5)4326R8RR
$(11)=11(10)(8)(6)(4)325R7R9RR
$(12)=12(11)(9)(7)(5)4326R8R10RR
$(13)=13(12)(10)(8)(6)(4)325R7R9R11RR
etc, creating a recursion of sorts.
The proper numbers, are
0 0
1 1
2 5
3 29
4 260
5 4106
6 122762
7 7224008
8 826 600 000 blah blah
9 187 000 000 000 blah blah
10 84 000 000 000 000 blah blah
11 7 ...000... big number, untested
12 unknown, untested
13 unknown, untested
And also, due to the exponential nature of growth, $(N) is approximately exp(some polynomial).
Yet $(N) always overtakes any exp(polynomial) eventually, so a solution to N can only be approximated, if you first know with certainty, the solution to N-1. Kinda useless.
Oh, and one more thing. I suspect this is related to the least-distance-to-connect-N-nodes-of-a-regular-polygon problem, or the Motorway Problem. Presented here by James Grime: https://www.youtube.com/watch?v=dAyDi1aa40E
4 -> 3that goes from[15, 5, 9, 16]to[15, 5, 25, 16]isn't of this form; it prefers to add the $16$ to a node from which it can be added back to the $16$ in the next move. – joriki Apr 15 '16 at 08:29with the two moves not involving node $3$ coming first, but this then yields a lower value when used as an initial sequence for $N=4$ than the above solution for $N=4$, which has 2 -> 1 after moves involving node $3$. But this might be just an initial small-value phenomenon; it might still be possible to prove that the inductive approach is optimal for higher $N$.
– joriki Apr 15 '16 at 08:58