18. The difference between any two consecutive interior angles of a polygon is . If the smallest angle is , find the number of the sides of the polygon.
The angles of polygon forms AP with common difference of and first term as .
We know that sum of angles of polygon with n sides is
Sides of polygon are 9 or 16.