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 continued fractions. Includes Legendre and Jacobi symbols, some divisor functions, Euler's Phi function, etc.

Version: 0.8-5
Depends: R (≥ 4.1.0)
Suggests: gmp (≥ 0.5-1)
Published: 2022-11-23
DOI: 10.32614/CRAN.package.numbers
Author: Hans Werner Borchers
Maintainer: Hans W. Borchers <hwborchers at>
License: GPL (≥ 3)
NeedsCompilation: no
Materials: NEWS
In views: NumericalMathematics
CRAN checks: numbers results


Reference manual: numbers.pdf


Package source: numbers_0.8-5.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): numbers_0.8-5.tgz, r-oldrel (arm64): numbers_0.8-5.tgz, r-release (x86_64): numbers_0.8-5.tgz, r-oldrel (x86_64): numbers_0.8-5.tgz
Old sources: numbers archive

Reverse dependencies:

Reverse depends: Tex4exams
Reverse imports: bellreg, Canek, countDM, cyclotomic, DNABarcodeCompatibility, DoE.base, eggCounts, ERPM, FielDHub, GenomAutomorphism, ghypernet, gips, groupdata2, GWRLASSO, HadamardR, LHD, MARSGWR, MFDFA, mvp, mvPot, permutations, rabi, sensitivity, SpatialPOP, SpPOP, StepGWR, UHM, upndown, xegaGeGene
Reverse suggests: RcppBigIntAlgos, torchaudio


Please use the canonical form to link to this page.