Let one numbers be x then other.
Then according to question
By cross multiplication
Or
Since, x being a number,
Therefore,
When then
And when then
Thus, two consecutive number be either