📄 lap.pod
字号:
=head1 NAME lap - compute least annihilating power of a number=head1 SYNOPSIS lap <a> <m>=head1 DESCRIPTIONThe B<lap> program computes the order of I<a> modulo I<m>, forarbitrary precision integers I<a> and I<m>. The B<order> of I<a>modulo I<m> is defined as the smallest positive value I<n> for whichI<a> raised to the I<n>th power, modulo I<m>, is equal to 1. Theorder may not exist, if I<m> is composite.=head1 RESTRICTIONSThis program is very slow, especially for large moduli. It isintended as a way to help find primitive elements in a modular field,but it does not do so in a particularly inefficient manner. It waswritten simply to help verify that a particular candidate does nothave an obviously short cycle mod I<m>.=head1 SEE ALSOgcd(1), invmod(1), isprime(1)=head1 AUTHOR Michael J. Fromberger <sting@linguist.dartmouth.edu> Thayer School of Engineering, Hanover, New Hampshire, USA $Date: 2000/07/14 00:44:34 $
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -