Returns true if A and B are with in Tolerance of each other.
GreatestCommonDivisor (AAsInt, BAsInt) AsInt
Returns the greatest commond divisor of 2 numbers.
IsEmirp (ValueAsInt) AsBoolean
Tests whether a number is an emirp (A prime number that when reversed is a different prime number).
IsEven (InputAsInt) AsBoolean
Tests whether Input is an even number.
IsEvil (InputAsInt) AsBoolean
Returns true if Input is an evil number
IsHappy (NumberAsInt) AsBoolean
Returns whether or not Number is a happy number. A happy number is defined by the following process. Starting with any positive integer, replace the number by the sum of the squares of its digits, and repeat the process until the number equals 1 (where it will stay), or it loops endlessly in a cycle which does not include 1.
Tests whether the object has been initialized.
IsNarcissistic (InputAsLong) AsBoolean
Tests whether Input is a Narcissistic number.
IsOdd (InputAsInt) AsBoolean
Tests whether Input is an odd number.
IsOdious (InputAsInt) AsBoolean
Returns true if Input is an odious number.
IsPerfect (NAsInt) AsBoolean
Calculates whether or not a number is perfect. A perfect number is a positive integer that is the sum of its proper positive divisors excluding the number itself. Equivalently, a perfect number is a number that is half the sum of all of its positive divisors (including itself).
IsPernicious (InputAsInt) AsBoolean
Tests whther a number is pernicious, that is has a population count that is a prime number.
IsPrime (aAsInt) AsBoolean
Checks whether a is a prime.
IsSelfDescribing (InputAsInt) AsBoolean
Calculates whether Input is a self describing number.
Luhn (NumberAsString) AsBoolean
Checks whether a credit card number is valid checking it using the Luhn method. This doesn't mean the number exists, just checks it is valid.