number of ways i a set to add to a prime sum