OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
MATHEMATICA
ulams = {1, 2}; Do[AppendTo[ulams, n = Last[ulams]; While[n++; Length[ DeleteCases[Intersection[ulams, n - ulams], n/2, 1, 1]] != 2]; n], {100}]; Flatten[Position[ulams, _?(PrimeQ[#] &)]] (* after Jean-François Alcover at A002858 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Apr 02 2019
STATUS
approved