login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

a(n) = floor(1/(Pi - 2^(n+1)*sin(Pi/2^(n+1)))).
5

%I #21 Nov 11 2024 21:19:38

%S 3,12,49,198,792,3170,12681,50727,202909,811636,3246545,12986183,

%T 51944732,207778928,831115713,3324462855,13297851421,53191405684,

%U 212765622737,851062490950,3404249963800,13616999855201,54467999420806,217871997683226,871487990732903

%N a(n) = floor(1/(Pi - 2^(n+1)*sin(Pi/2^(n+1)))).

%C Let Arch(n) = 2^(n+1)*sin(Pi/2^(n+1)) be the Archimedean approximation to Pi (Finch, pp. 17 and 23) given by a regular polygon of 2^(n+1) sides. A248347 provides insight into the manner of convergence of Arch(n) to Pi. Another provider is the fact that the least k for which Arch(k) < 1/4^n is A000027(n) = n. (For the closely related function arch, see A248355.)

%H Clark Kimberling, <a href="/A248347/b248347.txt">Table of n, a(n) for n = 1..1000</a>

%F a(n) ~ 6 * 4^(n+1) / Pi^3. - _Vaclav Kotesovec_, Oct 09 2014

%e n Pi - Arch(n) 1/(Pi - Arch(n))

%e 1 0.313166... 3.1932...

%e 2 0.0801252... 12.4805...

%e 3 0.0201475... 49.6339...

%e 4 0.00504416... 198.249...

%e 5 0.0012615... 792.709...

%t z = 200; p[k_] := p[k] = (2^(k + 1))*Sin[Pi/2^(k + 1)]

%t Table[Floor[1/(Pi - p[n])], {n, 1, z}] (* A248347 *)

%Y Cf. A000027, A248355, A248357, A248355, A248360.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, Oct 05 2014