For a nonnegative integer , its integer square root is the unique nonnegative integer satisfying , equivalently . Testing decides whether is a perfect square using exact integer arithmetic.
New to topics? Read the docs here!
New to topics? Read the docs here!