OFFSET
1,7
COMMENTS
It is conjectured that a(n) > 0 for n >= 3.
REFERENCES
R. K. Guy, ed., Unsolved Problems, Western Number Theory Meeting, Las Vegas, 1988.
LINKS
Dmitry Kamenetsky, Table of n, a(n) for n = 1..10000 (terms 1..680 from James A. Sellers and R. J. Mathar)
EXAMPLE
a(4) = 1 because S(4) = 17+19 = (5+7) + (11+13) = S(2)+S(3) and this is the only such way to write S(4) as the sum S(i) + S(j) for i <= j < 4.
MAPLE
with(numtheory): Sset := {}; for i from 1 to 5000 do if ithprime(i + 1) - ithprime(i) = 2 then Sset := Sset union {2 ithprime(i) + 2} fi; od; Sset := convert(Sset, list): for n from 1 to nops(Sset) do count := 0: s := Sset[n]: for i from 1 to n do if member(s - Sset[i], Sset) and s - Sset[i] >= s/2 then count:=count + 1 fi: od: printf(`%d, `, count): od:# James A. Sellers, Jan 25 2008
A134143 := proc(n)
local Sn, i, j, a;
Sn := A054735(n);
a := 0;
for i from 1 to n-1 do
for j from i to n-1 do
a := a+1;
end if;
end do:
end do:
a ;
end proc: # R. J. Mathar, Jan 25 2008
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jan 25 2008
EXTENSIONS
Terms a(5) onwards computed by James A. Sellers and R. J. Mathar, Jan 25 2008
STATUS
approved