It seems to be a pretty simple math question...
If # of dealers = x
And the remainder of mikes harvests = Rm
Then
(1199533 + Rm)/X = whole number (Nj)
(683786 + Rm)/X = whole number (Nb)
(314827 - Rm)/X = whole number (Nm)
One could figure it out with brute force...
but it seems that we should be able to relate them in another manner...
X = (314827 - Rm)/Nm
--> [(683786 + Rm)/(314827 - Rm)]*Nm=Nb
Probably could figure something out from that....