Number of distinct sequences of the type m^k mod n for n fixed, k>=1.

A109746

Number of distinct sequences of the type m^k mod n for n fixed, k>=1.

Terms

    a(0) =1a(1) =2a(2) =3a(3) =4a(4) =2a(5) =6a(6) =4a(7) =7a(8) =4a(9) =10a(10) =3a(11) =12a(12) =6a(13) =4a(14) =7a(15) =16a(16) =7a(17) =18a(18) =5a(19) =6a(20) =10a(21) =22a(22) =4a(23) =21a(24) =12a(25) =20a(26) =7a(27) =28a(28) =4a(29) =30

External references