OFFSET
1,4
LINKS
Eric Weisstein's World of Mathematics, Goldbach Partition
Wikipedia, Goldbach's conjecture
FORMULA
a(n) = Sum_{i=3..n} (c(i) * c(2n-i) * (pi(2*n-i)-pi(i-1)) * (Product_{k=i..n} (1-abs(c(k)-c(2n-k)))), where pi is the prime counting function (A000720), and c is the prime characteristic (A010051).
From Wesley Ivan Hurt, Dec 17 2016: (Start)
a(n) <= A279536(n). (End)
MAPLE
MATHEMATICA
f[n_] := Sum[ Boole[PrimeQ[i]] Boole[PrimeQ[ 2n -i]] (PrimePi[ 2n -i] - PrimePi[i -1]) Product[(1 - Abs[Boole[PrimeQ[k]] - Boole[PrimeQ[ 2n -k]]]), {k, i, n}], {i, 3, n}]; Array[f, 80] (* Robert G. Wilson v, Dec 15 2016 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, Dec 13 2016
STATUS
approved