Refine by Content Type

Refine by Product

Refine by Time Frame

image thumbnail

updated 18 days ago

isarmstrong(n) by Dr RAVEENDRANATHAN KALATHIL CHELLAPPAN

Armstrong Numbers are those n-digit numbers, equal to the sum of the nth powers of its digits. (matlab, armstrong number, number theory)

isarmstrong(n)

image thumbnail

updated 6 months ago

Using Gauss' Algorithm to solve simultaneous linear congruences for Chinese Remainder Theorem by Michael Chan

Gauss' Algorithm to solve for Chinese Remainder Theorem (CRT) (number theory)

GaussAlgoForCRT( c, n )

modinv.m

usage_GaussAlgoForCRT.m

image thumbnail

updated 1 year ago

Unique, or irreducible, fractions by Aviv Ofir

All unique Numerator/Denominator pairs (="irreducible fractions"), where both N and D <=(integer n) (irreducible fractions, unique fractions, number theory)

[N, D]=UniqueFractions(n,ToPlot)

image thumbnail

updated 2 years ago

Integer partition generator by David Holdaway

Generates a table of all integer partitions of integers from 0 to N. (mathematics, physics, statistics)

integerparttable(nfinal )

intpartgen(N,maxnum,intlist)

intpartgen2(N,maxnum,intlist,allowednumrange)

image thumbnail

updated 2 years ago

System of linear congruences by Mike Sheppard

Solution to Simultaneous Linear Congruences (mathematics, linear algebra, chinese remainder the...)

x=lincon(a,b,n)

image thumbnail

updated 3 years ago

Divisibility rule by 7 by Diyashvir Kreetee Rajiv Babajee

This code helps us to verify whether a number is divisible by 7 using the divisibility rule (number theory)

div7.m

image thumbnail

updated almost 4 years ago

vecgcd by Steven Gregory

Computes the GCD of the elements of the integer vector V. (gcd, number theory)

vecgcd(v)

image thumbnail

updated almost 4 years ago

egcd.m by Steven Gregory

Extended greatest common divisor. Finds g = GCD(x(1), ..., x(end)) and v such that g == sum(v.*x). (vpi, number theory, mathematics)

egcd(x)

image thumbnail

updated almost 4 years ago

Improved Base Expansion Algorithm by Alexander Wallar

This is an improvement of my last base expansion algorithm (base, expansion, algorithm)

baseVecExpand(n,c,b)

image thumbnail

updated 5 years ago

Jacobi and Legendre symbol by Petter

JACOBI computes the Jacobi symbol (m/n), a generalization of the Legendre symbol. (number theory, jacobi symbol)

jacobi(m,n)

image thumbnail

updated almost 6 years ago

196 Algorithm + GUI Beta Version by Darin Koblick

Highly optimized c code and Matlab GUI to find any palindrome using the 196-algorithm (optimization, palindrome, palindromic)

palindrome(varargin)

image thumbnail

updated 6 years ago

Amicable Number by Abhisek Ukil

Function to compute amicable pairs between two intergers, upper & lower limits. (amicable number, number theory, mathematics)

image thumbnail

updated 8 years ago

Moebius Mu Function by Adrian Schumacher

Returns the corresponding Moebius mu value of an input value. (moebius, mu, number theory)

moebiusmu(n)

Contact us