Wednesday, December 2, 2026

Hidden Structures within Integer Sequences

I've mentioned this in previous posts, but it's been a while since I've touched this project.  I'm again back looking at the derivatives of the integer sequences generated by constituents of these very interesting emergent patterns given 'simple' rules.

Take the one that started it all -- the now famous 'Knight-Knight' sequence.  I won't go into the details about how this is generated (see the youtube video https://www.youtube.com/watch?v=UiX4CFIiegM).  In any case, this is what you end up with:


Now, almost impossible to see in this image are the pixels that are still black (meaning that they contain neither a red or green 'Knight').  So there are three integer sequences here: the reds, the greens, and the blacks.

Here are the blacks, highlighted in white:



The integer sequence is the index of the black (in this case) pixels.  The first few are:

7,8,13,14,16,17,18,19,22,23,26,27,28,29,32,33,38,39,43,45,46,51,52,53,54,59,60,62,73,74,77,79,80,91,92,94,97,98,100,101,102,103,104,105,106,107,108,113,118,119,122,123,124,125,128,129,130,131,134,135,140,146,151,153,157,158,159,160,163,165,166,168,170,172,173,...

If you plot these values, you get what at first appears to be a pretty smooth curve:



But if I zoom in a little bit, I see that it's not smooth at all:



The hidden structures come when I look at how this curve changes -- the derivatives:



Zooming in to the beginning part:



So now here are the reds:



The the derivative of the sequence:






And now the green part:


Derivatives of the sequence:



The hidden patterns can get very complex.  Here are the zeroes from a five-object emergent pattern:


and here are the derivatives of the sequence: