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.

A076297 Numbers k such that prime(k) + s*k is prime, s=2.

This page as a plain text file.
%I A076297 #13 Mar 30 2025 16:40:00
%S A076297 2,3,7,9,11,12,13,14,18,24,27,28,29,30,36,38,43,44,53,54,55,57,60,63,
%T A076297 64,65,66,72,74,80,84,90,93,102,103,108,110,111,117,118,125,126,135,
%U A076297 138,141,143,148,150,155,156,162,165,171,174,180,183,186,188,190,198
%N A076297 Numbers k such that prime(k) + s*k is prime, s=2.
%C A076297 See also A064402 (s=1), A076298 (s=3), A076299 (s=4), A076300 (s=5).
%H A076297 G. C. Greubel, <a href="/A076297/b076297.txt">Table of n, a(n) for n = 1..10000</a>
%e A076297 3 is OK because p(3) + 2*3 = 5 + 6 = 11 is prime.
%t A076297 Select[Range[200],PrimeQ[Prime[#]+2#]&] (* _Harvey P. Dale_, Sep 01 2015 *)
%o A076297 (Magma) [n: n in [0..500]| IsPrime(NthPrime(n) +2*n)]; // _G. C. Greubel_, May 04 2018
%o A076297 (PARI) select(x->isprime(x), vector(500, n, prime(n) + 2*n), 1) \\ _G. C. Greubel_, May 04 2018
%Y A076297 Cf. A064402, A076298, A076299, A076300.
%K A076297 nonn
%O A076297 1,1
%A A076297 _Zak Seidov_, Oct 05 2002