Answer:
look at the attachment (p.s you could also use desmos to find the vertex)
M is the independent variable
So, the shortest side is 13, the other two fellows are two consecutive values.... ok... let's say the other leg is "a", a consecutive value to that will be a+1, so the hypotenuse is "a + 1" then
check the picture below
and surely you'd know what "a" is