Explicit formula for the average of goldbach numbers