login
Primes for which -7 is a primitive root.
2

%I #9 Mar 31 2024 15:03:24

%S 2,3,5,13,17,31,41,47,59,61,83,89,97,101,103,131,139,167,173,199,227,

%T 229,241,251,257,269,271,283,293,307,349,383,397,433,461,467,479,503,

%U 509,521,523,563,577,587,593,601,619,643,647,677,691,719,727,733,761,773,787,797

%N Primes for which -7 is a primitive root.

%H Vincenzo Librandi, <a href="/A105879/b105879.txt">Table of n, a(n) for n = 1..1000</a>

%H <a href="/index/Pri#primes_root">Index entries for primes by primitive root</a>

%t pr=-7; Select[Prime[Range[200]], MultiplicativeOrder[pr, # ] == #-1 &]

%K nonn

%O 1,1

%A _N. J. A. Sloane_, Apr 24 2005