A167799 Numbers with primitive root -3.
2, 5, 10, 11, 17, 22, 23, 25, 29, 34, 46, 47, 50, 53, 58, 59, 71, 83, 89, 94, 101, 106, 107, 113, 118, 125, 131, 137, 142, 149, 166, 167, 173, 178, 179, 191, 197, 202, 214, 226, 227, 233, 239, 250, 251, 257, 262, 263, 269, 274, 281, 289, 293, 298, 311, 317, 334
Offset: 1
Keywords
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Crossrefs
Cf. A105875 (primes with primitive root -3)
Programs
-
Mathematica
pr=-3; Select[Range[2,2000], MultiplicativeOrder[pr,# ] == EulerPhi[ # ] &]
-
PARI
is(n)=if(n%3==0, return(0)); my(p=eulerphi(n)); znorder(Mod(-3, n), p)==p \\ Charles R Greathouse IV, Jan 04 2025
Comments