Learn R Programming

⚠️There's a newer version (0.8-5) of this package.Take me there.

numbers (version 0.5-6)

Number-Theoretic Functions

Description

Provides some number-theoretic functions for R.

Copy Link

Version

Install

install.packages('numbers')

Monthly Downloads

9,125

Version

0.5-6

License

GPL (>= 3)

Maintainer

HwB

Last Published

March 14th, 2015

Functions in numbers (0.5-6)

primeFactors

Prime Factors
chinese remainder theorem

Chinese Remainder Theorem
catalan

Catalan Numbers
coprime

Coprimality
modinv

Modular Inverse
dropletPi

Droplet Algorithm for pi and e
eulersPhi

Eulers's Phi Function
Hermite normal form

Hermite Normal Form
modpower

Power Function modulo m
egyptian_complete

Egyptian Fractions - Complete Search
isNatural

Natural Number
rem

Integer Remainder
moebius

Moebius Function
div

Integer Division
previousPrime

Previous Prime
fibonacci

Fibonacci and Lucas Series
sigma

Divisor Functions
Primes

Prime Numbers
rabin_miller

Rabin-Miller Test
modlin

Modular Linear Equation Solver
twinPrimes

Twin Primes
numbers-package

Number-Theoretic Functions for R
ratFarey

Farey Approximation
pythagorean_triples

Pythagorean Triples
isIntpower

Powers of Integers
egyptian_methods

Egyptian Fractions - Specialized Methods
extGCD

Extended Euclidean Algorithm
agm

Arithmetic-geometric Mean
primroot

Primitive Root
mod

Modulo Operator
nextPrime

Next Prime
legendre_sym

Legendre and Jacobi Symbol
isPrime

isPrime Property
GCD, LCM

GCD and LCM Integer Functions
contFrac

Continous Fractions
zeck

Zeckendorf Representation
mersenne

Mersenne Numbers
quadratic_residues

Quadratic Residues
omega

Number of Prime Factors
ordpn

Order in Faculty