OFFSET
2,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 2..1000
Wikipedia, Goldbach's conjecture
FORMULA
a(n) = 2 * Sum_{i=2..n} (n-i) * A064911(2*n*i-i^2). - Wesley Ivan Hurt, Dec 20 2013
a(n) = 2 * Sum_{i=3..n} c(i) * c(2*n-i) * (n-i), where c = A010051. - Wesley Ivan Hurt, Dec 17 2016
MAPLE
with(numtheory):
A279725:=n->2*add( (pi(i)-pi(i-1)) * (pi(2*n-i)-pi(2*n-i-1)) * (n-i), i=3..n):
seq(A279725(n), n=1..100); # Wesley Ivan Hurt, Dec 17 2016
MATHEMATICA
Table[2 Sum[(n - i) Floor[2/PrimeOmega[2 n*i - i^2]], {i, 2, n}], {n, 2, 100}] (* Wesley Ivan Hurt, Dec 20 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Mar 12 2011
EXTENSIONS
More descriptive name by Wesley Ivan Hurt, Dec 20 2013
STATUS
approved