a(n) is the least prime such that the multiplicative order of 3 mod a(n) equals n, or a(n)=1 if no such prime exists.

A143663

a(n) is the least prime such that the multiplicative order of 3 mod a(n) equals n, or a(n)=1 if no such prime exists.

Terms

    a(0) =2a(1) =1a(2) =13a(3) =5a(4) =11a(5) =7a(6) =1093a(7) =41a(8) =757a(9) =61a(10) =23a(11) =73a(12) =797161a(13) =547a(14) =4561a(15) =17a(16) =1871a(17) =19a(18) =1597a(19) =1181a(20) =368089a(21) =67a(22) =47a(23) =6481a(24) =8951a(25) =398581a(26) =109a(27) =29a(28) =59a(29) =31

External references