Finding Powers Of k With A Permutation
Enter n:
Enter k:
Calculate
Time:
:
k
^{1}
,k
^{2}
,k
^{3}
, ..., k
^{r}
where r is the order of k mod n =