Let be a given integer. Determine the greatest integer for which there exists a polygon with vertices (convex or not, with non-selfintersecting boundary) having internal right angles.
[i]
Let be a given integer. Determine the greatest integer for which there exists a polygon with vertices (convex or not, with non-selfintersecting boundary) having internal right angles.
[i]
Let be a given integer. We are tasked with determining the greatest integer for which there exists a polygon with vertices (which can be either convex or non-convex, with a non-self-intersecting boundary) having internal right angles.
### Approach
To solve this problem, we must explore the possible configurations of polygons with given vertices and determine how many internal right angles can maximally exist. A right angle in a polygon is an internal angle equal to .
### Steps
1. Basic Condition:
- For a polygon with vertices, the sum of interior angles is given by the formula:
- The presence of right angles implies degrees are accounted out of the total sum:
2. Configuration of Remaining Angles:
- The remaining angles must also be non-right angles and satisfy the angle sum property. Often, this is managed by using angles greater than (making the rest of the polygon non-convex).
3. **Bounding **:
- Let the remaining angles of the polygon be some angles that sum to the remaining degrees needed for the total angle sum.
- Since these remaining angles cannot be less than and angles greater than involve reflex angles which are invalid for simple (non-self-intersecting) polygons, a natural choice is using angles slightly greater than , but less than or equal to .
4. **Maximum Condition**:
- It can be shown through construction that it is feasible to achieve the maximum number by strategically using angles close to (non-right but feasible in self-boundary cases) for the remaining vertices.
- Thus, we estimate the maximum as:
- Simplifying conditions for these remaining angles, and also ensuring positive counts of angles, gives the bounding function as:
5. Final Integer Solution:
- Considering the largest integer that does not exceed the fraction, the closed form is found to be:
Thus, the greatest integer for which there exists such a polygon is: