Learn R Programming

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

numbers (version 0.3-1)

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-1

License

GPL (>= 3)

Maintainer

HwB

Last Published

October 5th, 2012

Functions in numbers (0.3-1)

GCD, LCM

GCD and LCM Integer Functions
omega

Number of Prime Factors
primroot

Primitive Root
extGCD

Extended Euclidean Algorithm
zeck

Zeckendorf Representation
isPrime

isPrime Property
egyptian_methods

Egyptian Fractions - Specialized Methods
droplet_e

Droplet for e
eulersPhi

Eulers's Phi Function
factorize

Prime Factors
ratFarey

Farey Approximation
agm

Arithmetic-geometric Mean
modinv

Modular Inverse
modlin

Modular Linear Equation Solver
Primes

Prime Numbers
numbers-package

Number-theoretic Functions for R
isNatural

Natural Number
mod

Modulo Operator
fibonacci

Fibonacci Sequence
previousPrime

Previous Prime
nextPrime

Next Prime
twinPrimes

Twin Primes
contFrac

Continous Fractions
rem

Integer Remainder
modpower

Power Function modulo m
coprime

Coprimality
div

Integer Division
sigma

Divisor Functions
moebius

Moebius Function
isIntpower

Powers of Integers
egyptian_complete

Egyptian Fractions - Complete Search
chinese

Chinese Remainder Theorem