Let the first odd integer be
. This is a generic odd number, because 2k is twice an integer, and thus is even, and adding the +1 makes it odd.
So, three consecutive odd numbers are

The sum of the first and second is

31 less than 3 times the third is

So we can define the equation

So, the three numbers are
