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 A076298 #12 Mar 30 2025 16:40:27 %S A076298 1,4,6,8,10,12,16,20,26,28,32,34,38,40,42,46,48,50,56,60,62,64,68,78, %T A076298 86,90,94,102,104,120,122,128,130,138,140,144,146,148,162,166,170,180, %U A076298 182,186,190,200,204,208,214,230,238,244,246,250,252,254,260,270,282 %N A076298 Numbers k such that prime(k) + s*k is prime, s=3. %C A076298 See also A064402 (s=1), A076297 (s=2), A076299 (s=4), A076300 (s=5). %H A076298 G. C. Greubel, <a href="/A076298/b076298.txt">Table of n, a(n) for n = 1..10000</a> %e A076298 4 is OK because p(4) + 3*4 = 7 + 12 = 19 is prime. %t A076298 Select[Range[300],PrimeQ[3#+Prime[#]]&] (* _Harvey P. Dale_, Sep 06 2012 *) %o A076298 (Magma) [n: n in [0..500]| IsPrime(NthPrime(n) +3*n)]; // _G. C. Greubel_, May 04 2018 %o A076298 (PARI) select(x->isprime(x), vector(500, n, prime(n) + 3*n), 1) \\ _G. C. Greubel_, May 04 2018 %Y A076298 Cf. A064402, A076297, A076299, A076300. %K A076298 nonn %O A076298 1,2 %A A076298 _Zak Seidov_, Oct 05 2002