Crate prime_checker

source ·
Expand description

Rust library crate to hold simple functions to check the prime-ness of a given unsigned, 64-bit integer.

Functions

  • Prints a description of the crate to the console and returns the same.
  • Find all highly composite numbers until a given value num.
  • Finds all the prime numbers till a given number.
  • Checks to see if a given number is a highly-composite (anti-prime) number.
  • Checks to see if a given number is a prime number.