9. Triangular and square numbers