>>5866
I'm going to try and make some sense here using the cell for a = 19, b = 61.
This cell is equal to: (3, 6, 34, 15, 19, 61)
We can see that 6 + 15 = 21, thus x+n is odd.
e = 3
d = 34
f = 2 * d + 1 =66
f2 = 64
f2 / 8 = 8 (with no remainder as f2 is 8**2).
We now know that the base of our f2-triangles is 8 and we calculate the total amount of cells that is contained in a single f2 triangle: n*(n + 1)/2 = 36.
Multiply this by 8 and we have 8 triangles that fill inn 288 cells.
We then remove f2 from this leaving:
288 - f2 =288 - 64 = 224.
Now we know that in the center (n - 1) exists, but we don't know enough yet. We also assume that n < 8 (our base) and since we don't have any more of f2 to fill in the triangle we assume we have to use some 2*d's.
So we compute 224 % (2*d) =20. Thus we will have a remainder of 20 if we remove some amount of 2*d.
204 / (2d) = 3. So we have to remove 2d3 from our triangle which leaves a total of 20 cells left for us to fill. Our d is 34, so we can't fill it in with a complete d, instead we know that we have to have AT LEAST one (n - 1) in here. Since we already removed 3 2d's, we know n - 1 has to be at least 3. Assuming n = 3, we check 20 % 3, but this leaves us with 2, so we bump it up a notch and say n = 4. This gives us 20 / 4 = 5 (which happens to be our (n - 1)). This means we have to add (n - 1) four times to the center piece to fill it up.
I know this is a wall of text, but I'm just trying to think out loud. It might also be gibberish.