We arbitrarily chose the ones digit to start with as 2. (It must be 5 or less.) The other two digits are chosen by a random number generator, as shown in the attached.
The only criteria the question gives are that there must be 5 numbers, and the numbers must have 3 digits. The <em>ones digit</em> in the numbers should go up by 1.