


Here a=0.75 and the dependence of the deviation from the number of steps N is still linear.
ν= 0.50402






Please notice that neither x^2 or y^2 can have a value larger than N^2. This should have been a good checking point for the validity of your simulation.

Results from the random function without overflow.
Results from the random function with overflow correction.
Results from the ran1 function (Numerical Recipes)



Zari using the ran1 function from Numerical Recipes