I\'ve been tasked with porting a small company algorithm for generating/calculating numbers, from C# to PHP. Obviously, I need to be sure that the results of the generation