Multiplicative order: Difference between revisions

Content added Content deleted
m (→‎{{header|11l}}: bits:length())
imported>Soul windsurfer
m (→‎{{header|C}}: printf("The multiplicative order of %d related to %d is %lu \n", 37, 1000, multi_order(37, 1000)); printf("The multiplicative order of %d related to %d is %lu \n", 54, 100001, multi_order(54, 100001));)
Line 460: Line 460:
{
{
sieve();
sieve();
printf("%lu\n", multi_order(37, 1000));
printf("The multiplicative order of %d related to %d is %lu \n", 37, 1000, multi_order(37, 1000));
printf("%lu\n", multi_order(54, 100001));
printf("The multiplicative order of %d related to %d is %lu \n", 54, 100001, multi_order(54, 100001));
return 0;
return 0;
}</syntaxhighlight>
}</syntaxhighlight>