This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A167792 #7 Jan 04 2025 00:36:21 %S A167792 2,4,5,7,10,14,17,19,25,29,31,34,38,43,49,50,53,58,62,79,86,89,98,101, %T A167792 106,113,125,127,137,139,149,158,163,173,178,197,199,202,211,223,226, %U A167792 233,250,254,257,269,274,278,281,283,289,293,298,317,326,331,343,346 %N A167792 Numbers with primitive root 3. %H A167792 Vincenzo Librandi, <a href="/A167792/b167792.txt">Table of n, a(n) for n = 1..1000</a> %t A167792 pr=3; Select[Range[2,2000], MultiplicativeOrder[pr,# ] == EulerPhi[ # ] &] %o A167792 (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 %Y A167792 Cf. A019334 (primes with primitive root 3) %K A167792 nonn %O A167792 1,1 %A A167792 _T. D. Noe_, Nov 12 2009