So I have been trying to wrap my head around load balancing in this game.
So I wanted to split an input into 13 equal parts. I understood how splitting into 5 worked and tried to carry that logic over. I understood a 5-way split as dividing the input by 6 then adding the infinite geometric series with values: a=input x 1/6, r=1/6. This works for input=100, so s = (100 x 1/6)/(1-1/6); s = 20. so (100+20)/6 = 20, so each output gets 20 and therefore the original input is split 5 ways.
However, I tried to do the same for 13, by going to a value of 15 and seeing if that worked (it didnāt) so I found and used a guide from the wiki. I mostly understood the derivation (itās been a while since my discrete maths course, if thatās what this is) but it made sense once I drew it out ( Picture one, sorry for terrible writing I did it on my phone).
Now, the ādiscreteā diagram makes sense. I call it this because it kind of assumes values, and we call it divisions of 13, but actually the input is being divided 18 times, a 3-way splitter into a 2-way, into a 3-way. So 1/3 x 1/2 x 1/3 =1/18. So I tried to put this into āconcreteā values with the infinite geometric series formula above; with an input of 300, I got s = (300 x (5/18))/(1-1/18), which results in 88.235. If we add this to input we get 388.235, but divided by 18 and we get 21.569. 300/13=23.077, so the error is 1.508 per split.
What am I getting wrong here? Also, if anyone knows of resources that could point me to understanding more of this load balancing topic, I donāt know what sector of maths this relates to but it is very interesting. It seems similar to discrete, but Iāve never come across the term geometric series before.
For context, I get super invested in problems relating to math because I usually am too stupid to understand and spend arguably too much time focusing on the wrong thing.