cp's OEIS Frontend

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.

A241045 Primes having primitive roots 2, 3, 5, and 7.

This page as a plain text file.
%I A241045 #6 Sep 16 2020 13:27:37
%S A241045 173,293,677,773,797,907,1277,1637,1747,2083,2357,2477,2693,2957,3533,
%T A241045 3797,4133,4157,4373,4493,4603,4637,4877,4973,5333,5477,5717,5813,
%U A241045 5923,6053,6173,6317,6547,6653,6763,7013,7517,8237,8573,8693,8837,9173,9533
%N A241045 Primes having primitive roots 2, 3, 5, and 7.
%H A241045 T. D. Noe, <a href="/A241045/b241045.txt">Table of n, a(n) for n = 1..1000</a>
%t A241045 fQ[p_, n_] := MultiplicativeOrder[p, n] == n - 1; Select[Prime[Range[1200]], fQ[2, #] && fQ[3, #] && fQ[5, #] && fQ[7, #] &]
%t A241045 Select[Prime[Range[1200]],SubsetQ[PrimitiveRootList[#],{2,3,5,7}]&] (* Requires Mathematica version 10 or later *) (* _Harvey P. Dale_, Sep 16 2020 *)
%Y A241045 Cf. A001122, A019334, A019335, A019337, A213052.
%K A241045 nonn
%O A241045 1,1
%A A241045 _T. D. Noe_, Apr 16 2014