Multiplicative order: Difference between revisions

m
→‎{{header|Perl}}: Switch module from MPU to ntheory
(Add Perl using modules (we still should have a full implementation, using one of the same modules to supply factoring and lcm))
m (→‎{{header|Perl}}: Switch module from MPU to ntheory)
Line 636:
=={{header|Perl}}==
Using modules:
{{libheader|ntheory}}
<lang perl>use Math::Prime::Utilntheory qw/znorder/;
say znorder(54, 100001);
use bigint; say znorder(11, 1 + 10**100);</lang>
Anonymous user