The domain of the function is positive integers. The function does not work for negative integers or non-integer inputs.
