Question 124
Sérgio chooses two positive integers $a$ and $b$. He writes 4 numbers in his notebook: $a$, $a+2$, $b$ and $b+2$. Then all 6 products of two of these numbers are written on the board. Let $Q$ be the number of perfect squares written on it; determine the maximum value of $Q$.