Let x be a large real number, be the Dirichlet divisor function and . In this paper, we consider a weighted form of the three primes theorem: where run over primes, , and N is an large odd integer. For the case , the others two with , an asymptotic formula for has been derived, along with a non-trivial upper bound estimate for when .