When a = 5 and b = 1 ....

YES!!! It looks like both 'a' and 'b' split the curve into sections equal to their values as long as either 'a' is 1 or 'b' is 1 ... Also, for this to work 'a' must be an odd value in order for the curve to be closed.

Return