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 A237259 #12 Apr 06 2014 13:06:24 %S A237259 0,0,2,2,2,2,3,2,2,3,5,5,7,7,2,2,3,5,5,7,7,20,10,10,2,2,3,5,5,7,2,2,3, %T A237259 5,5,7,7,35,10,10,17,2,3,20,5,17,7,35,20,10,28,28,13,41,26,26,17,28, %U A237259 35,20,2,3,33,5,2,3,2,3,10,5 %N A237259 Least positive integer k < n such that prime(k) + 2 and prime(prime(n-k)) + 2 are both prime, or 0 if such a number k does not exist. %C A237259 Conjecture: a(n) < 2*sqrt(n)*log(3*n) for all n > 0. %C A237259 We have verified this for n up to 5*10^5. Note that a(202) = 173 > 2*sqrt(202)*log(2*202). %C A237259 According to the conjecture in A218829, a(n) should be positive for all n > 2. %H A237259 Zhi-Wei Sun, <a href="/A237259/b237259.txt">Table of n, a(n) for n = 1..10000</a> %H A237259 Z.-W. Sun, <a href="http://arxiv.org/abs/1402.6641">Problems on combinatorial properties of primes</a>, arXiv:1402.6641, 2014 %e A237259 a(3) = 2 since prime(2) + 2 = 5 and prime(prime(3-2)) + 2 = prime(2) + 2 = 5 are both prime, but prime(1) + 2 = 4 is composite. %t A237259 pq[k_,m_]:=PrimeQ[Prime[k]+2]&&PrimeQ[Prime[Prime[m]]+2] %t A237259 Do[Do[If[pq[k,n-k],Print[n," ",k];Goto[aa]],{k,1,n-1}]; %t A237259 Print[n," ",0];Label[aa];Continue,{n,1,70}] %Y A237259 Cf. A000040, A001359, A006512, A218829, A237260. %K A237259 nonn %O A237259 1,3 %A A237259 _Zhi-Wei Sun_, Feb 05 2014