Learn R Programming

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

numbers (version 0.3-3)

Number-theoretic Functions

Description

Provides some number-theoretic functions for R.

Copy Link

Version

Install

install.packages('numbers')

Monthly Downloads

9,125

Version

0.3-3

License

GPL (>= 3)

Maintainer

HwB

Last Published

November 21st, 2012

Functions in numbers (0.3-3)

chinese remainder theorem

Chinese Remainder Theorem
modinv

Modular Inverse
coprime

Coprimality
isIntpower

Powers of Integers
modlin

Modular Linear Equation Solver
previousPrime

Previous Prime
factorize

Prime Factors
nextPrime

Next Prime
numbers-package

Number-theoretic Functions for R
rem

Integer Remainder
extGCD

Extended Euclidean Algorithm
egyptian_complete

Egyptian Fractions - Complete Search
sigma

Divisor Functions
omega

Number of Prime Factors
isNatural

Natural Number
modpower

Power Function modulo m
egyptian_methods

Egyptian Fractions - Specialized Methods
ratFarey

Farey Approximation
moebius

Moebius Function
Primes

Prime Numbers
div

Integer Division
eulersPhi

Eulers's Phi Function
twinPrimes

Twin Primes
mod

Modulo Operator
fibonacci

Fibonacci and Lucas Series
primroot

Primitive Root
GCD, LCM

GCD and LCM Integer Functions
contFrac

Continous Fractions
agm

Arithmetic-geometric Mean
droplet_e

Droplet for e
isPrime

isPrime Property
Hermite normal form

Hermite Normal Form
zeck

Zeckendorf Representation