Let the three whole number are x, x+1, x+2.
product = sum
x×(x+1)×x+2=x+x+1+x+2x×(x+1)×(x+2)=3x+3x×(x+1)×(x+2)=3(x+1)x×(x+2)=3x2+2x=3x2+2x=3x2−x+3x−3=0x(x−2)+3(x−1)=0(x−1)(x+3)=0(x−1)=0x=1
and
(x+3)=0x=−3x=1,−3
For whole number we take only x=2
put the value of x in x,x+1,x+2
x=1x+1=1+1=2x=2=1+2=3
Hence number are 1, 2, 3