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.

A380333 Where prime race 8m+3 vs. 8m+7 is tied.

This page as a plain text file.
%I A380333 #4 Feb 03 2025 23:00:58
%S A380333 2,7,31,37,41,47,53,79,103,127,199,223,239,241,263,269,283,293,311,
%T A380333 313,317,367,373,383,389,397,401,409,431,433,443,449,457,461,467,499,
%U A380333 523,541,1039,1049,1063,1069,1091,1093,1097,1123,1129,1163,1231,1237,1249
%N A380333 Where prime race 8m+3 vs. 8m+7 is tied.
%C A380333 Prime numbers on the y-axis of the Cartesian grid defined in A379643.
%C A380333 Conjecture: There is no prime on the negative y-axis of the Cartesian grid defined in A379643, meaning that prime p does not exist such that pi_{8,3}(p) - pi_{8,7}(p) = 0 and pi_{8,5}(p) - pi_{8,1}(p) < 0, where pi_{m,b}(x) is the number of primes <= x which are congruent to b (mod m).
%o A380333 (Python)
%o A380333 from sympy import nextprime; p, x = 2, 0; R = [p]
%o A380333 while p < 1249:
%o A380333     p = nextprime(p); d = (5-p%8)//2
%o A380333     if d in {-1, 1}: x += d
%o A380333     if x == 0: R.append(p)
%o A380333 print(*R, sep = ', ')
%Y A380333 Cf. A379643, A379731, A379989.
%K A380333 nonn
%O A380333 1,1
%A A380333 _Ya-Ping Lu_, Jan 21 2025