We have
n first odd integer
n+2 next consecutive odd integer
So we have the next equation

So we need to find the value of n

Then we need to solve the equation

The solutions of the equation are
n=21
n=-20
But as we want only odd solutions
n=21
n+2=23
ANSWER
The numbers are 21 and 23