数论
模算术运算和数列
您可以执行初等数论运算,求 LCM、GCD、模数、商和余数。您还可以求质数和特殊数列,例如调和数、伯努利数和欧拉数。
函数
divisors | Divisors of integer or expression |
factorIntegerPower | Perfect power factoring |
gcd | GCD of numbers and polynomials |
isPrimitiveRoot | Determine which array elements are primitive roots |
lcm | Least common multiple |
max | Maximum elements of symbolic input (自 R2021a 起) |
min | Minimum elements of symbolic input (自 R2021a 起) |
mod | Symbolic modulus after division |
powermod | Modular exponentiation |
quorem | Quotient and remainder |
rem | Remainder after division |
eulerPhi | Euler phi function |
jacobiSymbol | Jacobi symbol |
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)