numberlab
A collection of numerical algorithms
Installation
To use the numberlab library in your Rust project, add the following to your Cargo.toml:
[]
= "0.1.3"
For examples of how to use this library, refer to the documentation at docs.rs.
For specific examples, refer to the examples directory in the repository.
List of algorithms
- Algorithms:
- Factorization
- Figurate Sequences:
- Hexagonal Numbers (OEIS A000384)
- Lazy Caterer's Sequence (OEIS A000124)
- Pentagonal Numbers (OEIS A000326)
- Square Numbers (OEIS A000290)
- Star Numbers (OEIS A003154)
- Stella Octangula Numbers (OEIS A007588)
- Triangular Numbers (OEIS A000217)
- Formula
- Combination
- Permutation
- Partitions:
- Pascal's Triangle (OEIS A007318)
- Primes:
- Sieve:
- Eratosthenes
- Sundaram
- Sieve:
- Sequences:
- Arithmetic Sequence
- Factorial Sequence (OEIS A000142)
- Fibonacci Sequence (OEIS A000045)
- Geometric Sequence
- Lucas Sequence (OEIS A000032)
- Recaman Sequence (OEIS A005132)
- Sylvester's Sequence (OEIS A000058)
- Tribonacci Sequence (OEIS A000073)