Let the smaller of the two consecutive odd positive integers be x. Then, the second integer will be x + 2. According to the question,
x2 + (x + 2)2 = 290
i.e., x2 + x2 + 4x + 4 = 290
i.e., 2x2 + 4x – 286 = 0
i.e., x2 + 2x – 143 = 0
which is a quadratic equation in x.
Using the quadratic formula, we get

But x is given to be an odd positive integer. Therefore, x≠ – 13, x = 11.
Thus, the two consecutive odd integers are 11 and 13.
Check : 112 + 132 = 121 + 169 = 290.