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 A249628 #20 Nov 07 2014 04:07:12 %S A249628 8,10,12,16,18,22,24,30,34,36,42,46,48,54,60,64,66,72,76,78,84,90,102, %T A249628 106,108,112,114,120,126,132,138,142,144,150,154,156,162,168,174,180, %U A249628 184,186,192,196,198,202,204,210,216,222,228,232,234,240,244,246,252 %N A249628 Sums of two numbers that are the average of a twin prime pair (A014574). %C A249628 The addends need not be distinct, see example. %C A249628 Probably a(n) ~ 6n and all multiples of 6 greater than 4206 are present. - _Charles R Greathouse IV_, Nov 06 2014 %H A249628 Charles R Greathouse IV, <a href="/A249628/b249628.txt">Table of n, a(n) for n = 1..10000</a> %e A249628 8 is in the sequence since 8 = 4+4 and 4 is the average of the twin primes 3 and 5. %e A249628 10 is in the sequence since 10 = 4+6 and both 4 and 6 are the average of the twin primes 3,5 and 5,7 respectively. %e A249628 12 is in the sequence since 12 = 6+6 and 6 is the average of the twin primes 5 and 7. %e A249628 14 is not in the sequence since it is not the sum of two numbers that are the average of twin primes. %o A249628 (PARI) v=[];for(n=1,10^3,if(isprime(n-1)&&isprime(n+1),v=concat(v,n))) %o A249628 b=[];for(n=1,1000,for(k=1,n,if(vecsearch(v,k)&&vecsearch(v,n-k),b=concat(b,n))));vecsort(b,,8) \\ _Derek Orr_, Nov 02 2014 %o A249628 (PARI) list(lim)=my(v=List(),p,r); p=3; forprime(q=5,lim-3, if(q-p>2, p=q; next); r=3; forprime(s=5,min(lim-q+2,q), if(s-r==2, listput(v, p+s)); r=s); p=q); Set(v) \\ _Charles R Greathouse IV_, Nov 06 2014 %o A249628 (PARI) list(lim)=my(v=List(),P=primes([3,lim\1-3]),Q=v,t); for(i=2,#P, if(P[i]-P[i-1]==2, listput(Q,P[i]-1))); P=0; forstep(n=8,lim,2, for(i=1,#Q, if(setsearch(Q,t=n-Q[i]), listput(v,n); break); if(t<Q[i], break))); Vec(v) \\ _Charles R Greathouse IV_, Nov 06 2014 %o A249628 (PARI) is(n)=my(p=3);forprime(q=5,n\2+1,if(isprime(n-p)&&isprime(n-p-2),return(1));p=q);0 \\ _Charles R Greathouse IV_, Nov 06 2014 %Y A249628 Cf. A014574 (average of twin prime pairs). %K A249628 nonn %O A249628 1,1 %A A249628 _Wesley Ivan Hurt_, Nov 02 2014 %E A249628 Missing a(19) added by _Charles R Greathouse IV_, Nov 06 2014