Number of solutions to the equation n^x==1 (mod x), 1<=x<=n.

A073023

Number of solutions to the equation n^x==1 (mod x), 1<=x<=n.

Terms

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

External references