numbers

Number-Theoretic Functions

Provides number-theoretic functions for factorization, prime numbers, twin primes, primitive roots, modular logarithm and inverses, extended GCD, Farey series and continuous fractions. Includes Legendre and Jacobi symbols, some divisor functions, Euler's Phi function, etc.

Tests Vignettes

Available Snapshots

This version of numbers can be found in the following snapshots:

Dependencies

Imports/Depends/LinkingTo/Enhances (1)
  • R
  • Suggests (1)
  • gmp >= 0.5-1
  • Version History