The correct formula would be [font=monospace]math.round(256/(totalNumberOfPaths - n)[/font]. (Note that the first element is n=0, not n=1!)
So this is what you would get for five paths, in fractional format. If you don't trust me, then do the math yourself. :P
256/5
256/4
256/3
256/2
256
The correct formula would be
math.round(256/(totalNumberOfPaths - n). (Note that the first element is n=0, not n=1!)
So this is what you would get for five paths, in fractional format. If you don't trust me, then do the math yourself.
256/5
256/4
256/3
256/2
256