## Octagons with integral coordinates?

Higher-dimensional geometry (previously "Polyshapes").

### Octagons with integral coordinates?

In 2D, it is impossible to represent the coordinates of an equilateral triangle using only integer coordinates. However, in 3D this is possible, as a face of the alternated cube: (1,1,1), (-1,-1,1), (1,-1,-1), for example.

Similarly, a regular octagon cannot have integer coordinates in 2D; but can it have integer coordinates in 3D or higher? What about regular pentagons?
quickfur
Pentonian

Posts: 1465
Joined: Thu Sep 02, 2004 11:20 pm
Location: The Great White North

### Re: Octagons with integral coordinates?

A regular octagon can not have integer coordinates in any dimension. This is because an chord parallel to an edge would be of length 1+sqrt(2), and the implication here is that sqrt(2) can be expressed in integers.

On the other hand, one can get really close with the sets of points (17,0), and (12,12), with all permutations, change of sign. The area of this figure differs from the octagon by a measure of 1/169 of the unit-square.
The dream you dream alone is only a dream
the dream we dream together is reality.

wendy
Pentonian

Posts: 1236
Joined: Tue Jan 18, 2005 12:42 pm
Location: Brisbane, Australia