look at the values for
nn + 2d(n-1) + f - 1
They are always square. The square root is either equal to (b-a)/2 or f
look at the values for
nn + 2d(n-1) + f - 1
They are always square. The square root is either equal to (b-a)/2 or f
Also (b-a)/2 is x+n