Let one of the numbers be x.
Since, sum of the numbers is 15, the other number will become (15−x)
Sum of their reciprocals =310
1x+115−x=310
15−x+x(15−x)x=310
15(15x−x2)=310
150=45x−3x2
3x2−45x+150=0 (taking 3 common )
x2−15x+50=0
(x−10)(x−5)=0
x=10 or 5
Therefore, the numbers are 10 and 5.