OFFSET
1,1
COMMENTS
The sequence is obtained by interleaving A099019 and A134797. From Goldbach's conjecture, apparently all terms are odd. - Bob Selcoe, Mar 10 2015
LINKS
Michel Marcus, Table of n, a(n) for n = 1..7596
Oliver Knill, Goldbach for Gaussian, Hurwitz, Octavian and Eisenstein primes, arXiv preprint arXiv:1606.05958 [math.NT], 2016.
Wikipedia, Goldbach's conjecture
MATHEMATICA
Lim=331; nn=PrimePi[Lim+1]; (* Lim is upper limit of sequence; nn is range of primes to consider *)
dif=Union[Flatten[Differences/@Subsets[Prime[Range[nn]], {2}]]]; (* differences of two primes *)
sum=Union[Join[Flatten[Total/@Subsets[Prime[Range[nn]], {2}]], Table[2*Prime[n], {n, nn}]]]; seq2; (* sums of two primes *)
Complement[Range[Lim], dif, sum] (* neither sum nor difference *) (* James C. McMahon, Jun 10 2024 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Eric Angelini, Sep 14 2005
EXTENSIONS
Corrected and extended by Joshua Zucker, May 04 2006
Offset corrected by Arkadiusz Wesolowski, May 19 2012
STATUS
approved