Mathematical functions integer