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.

A187766 Even numbers k such that prime(k) -+ k are both composite.

This page as a plain text file.
%I A187766 #15 Jul 20 2019 08:08:33
%S A187766 12,20,36,38,40,46,52,56,58,60,62,64,74,78,80,86,88,112,118,120,122,
%T A187766 124,128,132,134,136,138,140,142,146,156,160,162,164,166,170,176,182,
%U A187766 184,186,188,190,194,198,208,210,212,216
%N A187766 Even numbers k such that prime(k) -+ k are both composite.
%C A187766 Even numbers not in A064269 and not in A064402.
%C A187766 Interestingly, prime(12) = 37 and both 37 - 12 = 25 and 37 + 12 = 49 are squares. Is there another such n?
%t A187766 Select[2*Range[200],!PrimeQ[Prime[#]+#]&&!PrimeQ[Prime[#]-#]&] (* _Harvey P. Dale_, Dec 24 2013 *)
%o A187766 (PARI) {forstep(i=2,220,2,p=prime(i);if(!isprime(p-i)&&!isprime(p+i),print1(i", ")))}
%Y A187766 Cf. A064269, A064402.
%K A187766 nonn
%O A187766 1,1
%A A187766 _Zak Seidov_, Jan 04 2013