login
Round(1/(Pi-n*sin(Pi/n))).
2

%I #6 Jun 30 2022 19:42:42

%S 0,1,2,3,5,7,10,12,16,19,24,28,33,38,44,50,56,63,70,77,85,94,102,112,

%T 121,131,141,152,163,174,186,198,211,224,237,251,265,280,294,310,325,

%U 341,358,375,392,410,428,446,465,484

%N Round(1/(Pi-n*sin(Pi/n))).

%C n*sin(Pi/n) is known as the Archimedean approximation to Pi, the present sequence measures [the reciprocal of] the error. See A248358 for the integer part.

%t Table[Round[1/(Pi -n Sin[Pi/n])],{n,50}] (* _Harvey P. Dale_, Jun 30 2022 *)

%o (PARI) a(n)=round(1/(Pi-n*sin(Pi/n))))

%Y Cf. A248358, A248355.

%K nonn

%O 1,3

%A _M. F. Hasler_, Oct 08 2014