The sides of a triangle are a, b and c where a, b and c are integers and . If c is given, show that the number of different triangles is or , according as c is even or odd. Also, show that the number of isoceles or equilateral triangle is or , according as is even or odd.