cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A121500 Minimal polygon values for a certain polygon problem leading to an approximation of Pi.

This page as a plain text file.
%I A121500 #12 Mar 28 2015 22:37:40
%S A121500 3,4,4,5,6,6,7,7,8,9,9,10,11,12,12,13,14,14,15,16,16,17,18,19,19,20,
%T A121500 21,21,22,23,23,24,25,26,26,27,28,28,29,30,30,31,32,33,33,34,35,35,36,
%U A121500 37,38,38,39,40,40,41,42,42
%N A121500 Minimal polygon values for a certain polygon problem leading to an approximation of Pi.
%C A121500 For a regular n-gon inscribed in a unit circle (area Pi), the arithmetic mean of the areas of this n-gon with a regular circumscribed m-gon is nearest to Pi for m=a(n).
%C A121500 This exercise was inspired by K. R. Popper's remark on sqrt(2)+sqrt(3) which approximates Pi with 0.15% relative error. See the Popper reference under A121503.
%F A121500 a(n) = min(abs(E(n,m)),m >= 3), n>=3 (checked for m=3..3+500), with E(n,m):= ((Fin(n)+Fout(m))/2-Pi)/Pi), where Fin(n):=(n/2)*sin(2*Pi/n) and Fout(m):= m*tan(Pi/m). Fin(n) is the area of the regular n-gon inscribed in the unit circle. Fout(n) is the area of a regular n-gon circumscribing the unit circle.
%e A121500 n=8, a(8)=6: (Fin(8)+Fout(6))/2 = sqrt(2) + sqrt(3) has relative error 0.001487 (rounded). All other circumscribed m-gons with inscribed octagon lead to a larger relative error.
%e A121500 n=21, a(21)=15: (Fin(21)+Fout(15))/2 = 3.14163887818241 (maple10, 15 digits) leads to a relative error 0.0000147 (rounded).
%Y A121500 Cf. A121501 (positions n where relative errors decrease).
%K A121500 nonn,easy
%O A121500 3,1
%A A121500 _Wolfdieter Lang_, Aug 16 2006