Expand description
math
Structs§
Functions§
- digits
- Returns the digits of the given number.
- digits_
from_ str - Returns the decimal digits inside a string.
- factorial
- Returns the factorial of the given number.
- factorial_
bigint - Returns the factorial of the given number as a BigInt.
- get_
collatz_ sequence - Returns the Collatz sequence of the given number.
- get_
divisors - Returns the divisors of the given number.
- get_
prime_ divisors - Returns the prime divisors of the given number.
- get_
primes_ below - Returns all the primes below the given number.
- get_
proper_ divisors - Returns the proper divisors of the given number
n
. - is_
palindrome - Returns
true
if the given number is palindrome. - is_
prime - Returns
true
if the given number is prime.