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 A040159 #19 Jul 08 2025 22:53:18 %S A040159 2,3,5,7,13,17,19,23,29,37,43,47,53,59,67,73,79,83,89,97,103,107,109, %T A040159 113,127,137,139,149,151,157,163,167,173,179,193,197,199,223,227,229, %U A040159 233,239,241,251,257,263,269,277,283,293,307,313,317,337,347,349,353 %N A040159 Primes p such that x^5 = 2 has a solution mod p. %H A040159 T. D. Noe, <a href="/A040159/b040159.txt">Table of n, a(n) for n=1..1000</a> %H A040159 <a href="/index/Pri#smp">Index entries for related sequences</a> %t A040159 ok [p_]:=Reduce[Mod[x^5- 2, p]== 0, x, Integers]=!= False; Select[Prime[Range[180]], ok] (* _Vincenzo Librandi_, Sep 12 2012 *) %o A040159 (Magma) [p: p in PrimesUpTo(400) | exists{x: x in ResidueClassRing(p) | x^5 eq 2}]; // _Bruno Berselli_, Sep 12 2012 %Y A040159 Cf. A001132, A040028, A040098, A040160. %Y A040159 Has same beginning as A042991 but is strictly different. %Y A040159 For primes p such that x^m == 2 mod p has a solution for m = 2,3,4,5,6,7,... see A038873, A040028, A040098, A040159, A040992, A042966, ... %K A040159 nonn,easy %O A040159 1,1 %A A040159 _N. J. A. Sloane_