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.

Package details

AuthorHans Werner Borchers
MaintainerHans W. Borchers <>
LicenseGPL (>= 3)
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the numbers package in your browser

Any scripts or data that you put into this service are public.

numbers documentation built on May 15, 2021, 1:08 a.m.