(p-1)/x, where p = prime(n) and x = ord(2,p), the smallest positive integer such that 2^x == 1 (mod p).

A001917

(p-1)/x, where p = prime(n) and x = ord(2,p), the smallest positive integer such that 2^x == 1 (mod p).

Terms

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

External references