OFFSET
1,1
LINKS
David A. Corneth, Table of n, a(n) for n = 1..10000
K. Kashihara, Comments and Topics on Smarandache Notions and Problems, Erhus University Press, 1996, 50 pages. See page 20.
K. Kashihara, Comments and Topics on Smarandache Notions and Problems, Erhus University Press, 1996, 50 pages. [Cached copy] See page 20.
F. Smarandache, Only Problems, Not Solutions!
FORMULA
a(n) << n log n. - Charles R Greathouse IV, Sep 19 2012
More specifically, a(n) <= 2*prime(n+1). On the Goldbach conjecture a(n) >= prime(n+1) + 3. - Charles R Greathouse IV, Dec 09 2014
MATHEMATICA
Table[tot = Total /@ Tuples[Prime[Range[2, n + 1]], 2]; lim = Last@tot; First[Select[Range[6, lim, 2], ! MemberQ[tot, #] &] - 2, lim], {n, 58}] (* Robert Price, Apr 26 2025 *)
PROG
(PARI) first(n) = {n+=3; my(fnf = 6, pr = primes(n), found = vector(pr[n]), res = vector(n-3), start = 2); for(i = 2, n-2, for(j = start, i, found[(pr[i]+pr[j])>>1] = 1); for(j = fnf>>1, pr[n], if(found[j]==0, fnf = j<<1; break)); while(pr[start] + pr[i+1]<fnf, start++); while(pr[start]+pr[i+1]>fnf, start--); res[i-1]=fnf-2); res} \\ David A. Corneth, Jul 06 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. Muller
EXTENSIONS
More terms from David W. Wilson
STATUS
approved
