You can put this solution on YOUR website! You need something that limitates; in more terms, you need more information.
Consecutive means that it comes next ....
Side's length: x
Other side's length: x + 1
Possibilities:
x = 1 ; 2
x = 2 ; 3
x = 3 ; 4
and so on and so on ....