It exists if n=4k or n=4k+1 where k is a positive integer.
Let us consider n-gon P1P2…Pn. Tangent points of the inscribed circle divide each of its sides in two segments. Lengths of these segments that have a common vertex Pi are equal. Denote the length of tangent segments that originate at point Pi by Ai. It means that side lengths of the n-gon can be expressed as PiPi+1=Ai+Ai+1 for all i=1,2,…,n where we consider points cyclically (Pn+1=P1 and An+1=A1).
We can show that the converse is true as well. That is, if we can find n positive real numbers Ai, i=1,2,…,n such that the sequence (A1+A2,A2+A3,…,An+A1) is a permutation of (1,2,…,n) then there is a circumscribed polygon P1P2…Pn with side lengths 1,2,…,n.
To show this we start with a circle of arbitrary radius R and construct points P1,P2,…,Pn outside this circle so that the length of the tangent segments from Pi to the circle are of length Ai and the "right" tangent segment from Pi touches the circle at the same point as the "left" tangent segment from Pi−1.
Now we almost have the n-gon except that possibly the "right" tangent point of P1 does not match the "left" touching point of Pn. This can be easily fixed by adjusting the radius R of the circle, using continuity.
Now we solve the problem by considering 4 cases:
i. First let's consider the case when n=4k. In this case such circumscribed n-gon exists. The 4k segments Ai can be of lengths
A1A2k+1A4k−1=21, A2=21, A3=23, A4=23,…,A2k−1=22k−1, A2k=22k−1,=22k+1, A2k+2=26k−1, A2k+3=22k−1, A2k+4=26k−3,…,=23, A4k=24k+1.
One can see that the values of the sums of the consecutive elements A1+A2,A2+A3,…,A4k−1+A4k,A4k+A4k+1 are exactly 1,2,…,2k,4k,4k−1,…,2k+1, respectively.
ii. In the case n=4k+1 the construction is similar, we can choose 4k+1 segments of length
A1A2k+1A2k+4=21,=24k+1,=24k−3,A2A2k+2A2k+5=21,=24k+1,=24k−5,A3A2k+3…,=25,=24k−1,A4k+1A4=23.=25,…,
In this case the values of the sums of consecutive elements A1+A2,A2+A3,…,A4k−1+A4k,A4k+A4k+1 are 1,3,5,…,4k+1,4k,4k−2,…,2, respectively.
iii. In case when n=4k+2 such a polygon does not exist. To prove this we note that in case if the number of the sides of the circumscribed polygon is even then the sum of the odd numbered sides is equal to the sum of the even numbered sides. It is evident as two segments of equal length that originate from the same vertex contribute to different sums. But the total sum of the side lengths is an odd number what means that it is impossible to split the sides into two parts with equal sum of lengths.
iv. In case n=4k+3 such a polygon also does not exist. In this case we can express A1 as
A1=(A1+A2+⋯+An)−(A2+A3)−(A4+A5)−⋯−(A4k+2+A4k+3)==2P1P2+P2P3+⋯+P4k+3P1−P2P3−P4P5−⋯−P4k+2P4k+3
As the sum of the length of the sides is an even number then we conclude that A1 is a positive integer. The same is true for all A2,A3,… as well. But now we have a contradiction as the side of length 1 cannot be split in two parts, each of which has positive integer length.