Quote (Dorieus @ 24 Apr 2013 13:13)
Anyone knows the logic?
This started to bug me.

the amount of additional numbers is always a power of 2. In this case 2^7 = 128, leaving us with 257 terms total
First number counts upwards: 9
Last 2 numbers each count upwards: 98
in between these it alternates between lines that are counting upwards and a different sequence
The counting upwards parts go something like 8 6 5 5 4 4 4 4 so that sequence probably continues with 8 3s and then 16 2s etc.
The sequences seperating these from each other goes something like 1 2 111 3 121 112 211
After that it gets kind of weird and im losing the pattern, which might have something to do with the ending pattern being longern and the 2nd to last line changing from the start block pattern to the end block pattern, which makes comparing the 2 last patterns to each other more difficult.
The gist of this divider sequence seems to be playing through different possible combinations of numbers that add up to a total sum of X. After going through these, you continue you X+1 as your next sequence. Though im not sure yet why not all of the possible combinations are used and in which order they are used.
1 is the only way to write out 1.
2 adds up to 2, but 11 is not being used here
111 and 3 both add up to 3, but 12 and 21 are not being used.
121, 112 and 211 all equal 4 and i think the sequence continues with 4 --> 31 --> 122 (first 5) --> 11111