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.
containing the n-th prime.
%I A098418 #5 Feb 16 2025 08:32:54 %S A098418 0,0,1,2,3,3,3,2,1,0,0,1,2,2,1,0,0,0,1,1,1,0,0,0,1,2,3,3,2,1,0,0,0,0, %T A098418 0,0,0,0,0,0,0,0,1,2,2,1,0,1,2,2,1,0,0,0,0,0,0,0,1,1,1,0,1,2,2,1,0,0, %U A098418 1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0 %N A098418 Number of prime triples (p,q,r) with p<q<r=p+6, containing the n-th prime. %C A098418 0 <= a(n) <= 3; %C A098418 a(A098419(n))=0; a(A098420(n))>0; a(A098421(n))=1; a(A098422(n))=2; a(A098423(n))=3. %H A098418 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/PrimeTriplet.html">Prime Triplet</a> %e A098418 A000040(13)=41: A007529(7)=41, A098414(6)=41 and %e A098418 A098415(k)<>41 for all k, therefore a(13)=2. %Y A098418 Cf. A007529, A098414, A098415. %K A098418 nonn %O A098418 1,4 %A A098418 _Reinhard Zumkeller_, Sep 07 2004