primes: Generate and Test for Prime Numbers

Functions for dealing with prime numbers, such as testing whether a number is prime and generating a sequence prime numbers. Additional functions include finding prime factors and Ruth-Aaron pairs, finding next and previous prime numbers in the series, finding or estimating the nth prime, estimating the number of primes less than or equal to an arbitrary number, computing primorials, and prime k-tuples (e.g., twin primes).

Version: 1.0.0
Depends: R (≥ 2.10)
Imports: Rcpp
LinkingTo: Rcpp
Suggests: testthat
Published: 2020-07-28
Author: Os Keyes [aut, cre], Paul Egeler ORCID iD [aut]
Maintainer: Os Keyes <ironholds at gmail.com>
BugReports: http://github.com/ironholds/primes/issues
License: MIT + file LICENSE
URL: http://github.com/ironholds/primes
NeedsCompilation: yes
SystemRequirements: C++11
Materials: README
In views: NumericalMathematics
CRAN checks: primes results

Downloads:

Reference manual: primes.pdf
Package source: primes_1.0.0.tar.gz
Windows binaries: r-devel: primes_1.0.0.zip, r-release: primes_1.0.0.zip, r-oldrel: primes_1.0.0.zip
macOS binaries: r-release: primes_1.0.0.tgz, r-oldrel: primes_1.0.0.tgz
Old sources: primes archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=primes to link to this page.