Learn R Programming

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

numbers (version 0.5-2)

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

License

GPL (>= 3)

Maintainer

HwB

Last Published

January 28th, 2015

Functions in numbers (0.5-2)

fibonacci

Fibonacci and Lucas Series
moebius

Moebius Function
catalan

Catalan Numbers
primeFactors

Prime Factors
mod

Modulo Operator
Hermite normal form

Hermite Normal Form
agm

Arithmetic-geometric Mean
legendre_sym

Legendre and Jacobi Symbol
numbers-package

Number-theoretic Functions for R
eulersPhi

Eulers's Phi Function
div

Integer Division
coprime

Coprimality
modlin

Modular Linear Equation Solver
zeck

Zeckendorf Representation
egyptian_complete

Egyptian Fractions - Complete Search
ordpn

Order in Faculty
twinPrimes

Twin Primes
GCD, LCM

GCD and LCM Integer Functions
modpower

Power Function modulo m
ratFarey

Farey Approximation
nextPrime

Next Prime
isPrime

isPrime Property
droplet_e

Droplet for e
modinv

Modular Inverse
previousPrime

Previous Prime
mersenne

Mersenne Numbers
rabin_miller

Rabin-Miller Test
omega

Number of Prime Factors
Primes

Prime Numbers
quadratic_residues

Quadratic Residues
contFrac

Continous Fractions
primroot

Primitive Root
rem

Integer Remainder
egyptian_methods

Egyptian Fractions - Specialized Methods
chinese remainder theorem

Chinese Remainder Theorem
isIntpower

Powers of Integers
extGCD

Extended Euclidean Algorithm
isNatural

Natural Number
sigma

Divisor Functions
pythagorean_triples

Pythagorean Triples