Smallest number k such that the number of distinct residues of x^k (mod k) equals n.

A196330

Smallest number k such that the number of distinct residues of x^k (mod k) equals n.

Terms

    a(0) =1a(1) =2a(2) =3a(3) =6a(4) =5a(5) =10a(6) =7a(7) =14a(8) =21a(9) =68a(10) =11a(11) =22a(12) =13a(13) =26a(14) =15a(15) =114a(16) =17a(17) =34a(18) =19a(19) =38a(20) =57a(21) =164a(22) =23a(23) =46a(24) =2525a(25) =776a(26) =657a(27) =212a(28) =29a(29) =58

External references