Holy shit that first key seems HUGE.
This equation works for A,B and D values.
A/B/D(t) = T(t)4 + tconst + start
where T(t) =(t*(t+1))/2
I figured out a way earlier to calculate the constant and start for each (e,1) record I just don't have it on hand. These are known values.
an = A(t) = T(t)4 + tconst + start
= 2t(t+1) + t*const + start
bn = A(t+n) = T(t+n)4 + (t+n)const + start
= 2(t+n)(t+n+1) + (t+n)*const + start
b = a + 2n + 2x
so
bn = an + 2nn + 2xn
2(t+n)(t+n+1) + (t+n)const + start = 2t(t+1) + tconst + start + 2nn + 2xn
(2t+2n)(t+n+1) + tconst + nconst + start = 2t(t+1) + t*const + start + 2nn + 2xn
[2tt] + 2tn + [2t] + 2tn + [2nn] + 2n + [tconst] + nconst + [start] = [2tt] + [2t] + [t*const] + [start] + [2nn] + 2xn
4tn + 2n + n*const = 2xn
4t + 2 + const = 2x
4t + 2 + const = 2d - 2a
Idk if this helps but I think the algebra is correct.
I forgot what the calculation for t was.