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 A238268 #17 Mar 10 2014 05:09:40 %S A238268 1,1,2,2,3,3,3,2,3,3,3,3,4,4,3,3,4,4,3,3,5,4,4,4,5,4,4,3,4,6,4,3,7,4, %T A238268 3,5,6,5,5,5,6,7,4,4,9,5,5,7,6,5,5,4,5,7,4,3,10,4,4,8,8,7,7,5,6,8,5,4, %U A238268 10,5,5,9,8,7,8,5,7,9,5,4,13,8,6,8,8,7 %N A238268 The number of unordered ways that n can be written as the sum of two numbers of the form p or 2p, where p is prime. %C A238268 p and 2p are terms of A001751. %C A238268 Sequence defined for n >= 4. %C A238268 It is conjectured that all terms of this sequence are greater than zero. %H A238268 Lei Zhou, <a href="/A238268/b238268.txt">Table of n, a(n) for n = 4..10000</a> %e A238268 n=4, 4=2+2, one case found. So a(4)=1; %e A238268 ... %e A238268 n=24, 24 = 2+2*11 = 5+19 = 7+17 = 2*5+2*7 = 11+13, 5 cases found. So a(24)=5; %e A238268 ... %e A238268 n=33, 33 = 2+31 = 2*2+29 = 7+2*13 = 2*5+23 = 11+2*11 = 2*7+19, 6 cases found. So a(33)=6. %t A238268 Table[ct = 0; Do[If[((PrimeQ[i]) || (PrimeQ[i/2])) && ((PrimeQ[n - i]) || (PrimeQ[(n - i)/2])), ct++], {i, 2, Floor[n/2]}]; ct, {n, 4, 89}] %o A238268 (PARI) isp(i) = isprime(i) || (((i % 2) == 0) && isprime(i/2)); %o A238268 a(n) = sum(i=1, n\2, isp(i) && isp(n-i)); \\ _Michel Marcus_, Mar 07 2014 %Y A238268 Cf. A001751, A002375, A103151. %K A238268 nonn %O A238268 4,3 %A A238268 _Lei Zhou_, Feb 21 2014