Let one of the number be x then the other number be x + 2.
Then according to question,
x2+x+22=394⇒x2+x2+4x+4=394⇒2x2+4x-390=0⇒x2+2x-195=0⇒x2+15x-13x-195=0⇒x(x+15)-13(x+15)=0⇒(x-13)(x+15)=0⇒x-13=0 or x+15=0⇒x=13 or x=-15
Since, x being an odd number,
Therefore, x = 13.
Then another number will be
x+2=13+2=15
Thus, the two consecutive odd numbers are 13 and 15.