About Anaconda Help Download Anaconda

r / packages / r-primes

Fast 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, prime k-tuples (e.g., twin primes), finding the greatest common divisor and smallest (least) common multiple, testing whether two numbers are coprime, and computing Euler's totient function. Most functions are vectorized for speed and convenience.

Type Size Name Uploaded Downloads Labels
conda 44.7 kB | win-64/r-primes-0.1.0-r36h796a38f_0.tar.bz2  4 years and 11 months ago 74 main
conda 42.1 kB | osx-64/r-primes-0.1.0-r36h466af19_0.tar.bz2  4 years and 11 months ago 16 main
conda 42.2 kB | linux-64/r-primes-0.1.0-r36h29659fb_0.tar.bz2  4 years and 11 months ago 52 main

© 2025 Anaconda, Inc. All Rights Reserved. (v4.0.7) Legal | Privacy Policy