A239206 a(n) is the total number of rows of circles of radius r packing into a circle of radius R, where r = R/2^n.
1, 1, 3, 9, 17, 35, 73, 147, 295, 591, 1181, 2363, 4729, 9459, 18917, 37837, 75673, 151347, 302697, 605395, 1210791, 2421581, 4843163, 9686329, 19372659, 38745319, 77490641, 154981281, 309962565, 619925129, 1239850261, 2479700523, 4959401047, 9918802097
Offset: 0
Keywords
Links
- Kival Ngaokrajang, Illustration of initial terms
Programs
-
Mathematica
rcr[n_]:=Module[{r=1/2^n,c=Cos[Pi/6]},2*Floor[(1-r)/(2*r*c)]+1]; Array[ rcr,40,0] (* Harvey P. Dale, Dec 23 2014 *)
-
PARI
a(n) = 1 + 2*sqrtint((2^n-1)^2\3); \\ Andrew Howroyd, May 27 2018 (Small Basic) For n = 0 To 50 r = 1/Math.Power(2,n) a = 2*math.Floor((1-r)/(2*r*math.Cos(Math.Pi/6))) + 1 TextWindow.Write(a+", ") EndFor
Formula
a(n) = 2*floor((1-r)/(2*r*cos(Pi/6))) + 1, where r = 1/2^n.
a(n) = 2*floor(sqrt((2^n-1)^2/3)) + 1. - Andrew Howroyd, May 27 2018
Comments