login
A240671
a(n) = floor(4^n/(2+2*cos(2*Pi/7))^n).
11
1, 1, 1, 1, 2, 2, 3, 4, 5, 6, 8, 9, 12, 15, 18, 22, 28, 34, 42, 52, 64, 79, 98, 121, 149, 183, 226, 279, 343, 423, 521, 642, 791, 975, 1201, 1480, 1823, 2246, 2767, 3409, 4199, 5173, 6373, 7851, 9672, 11915, 14679, 18083
OFFSET
0,5
COMMENTS
a(n) is the perimeter (rounded down) of a heptaflake after n iterations, let a(0) = 1. The total number of sides is 7*A000302(n). The total number of holes is A023000(n).
FORMULA
a(n) = floor(4^n/A116425(n)^n).
MAPLE
A240671:=n->floor(4^n/(2+2*cos(2*Pi/7))^n); seq(A240671(n), n=0..50); # Wesley Ivan Hurt, Apr 10 2014
MATHEMATICA
Table[Floor[4^n/(2 + 2*Cos[2*Pi/7])^n], {n, 0, 50}] (* Wesley Ivan Hurt, Apr 10 2014 *)
PROG
(PARI) {a(n)=floor(4^n/(2+2*cos(2*Pi/7))^n)}
for (n=0, 100, print1(a(n), ", "))
CROSSREFS
Cf. A000302, A023000, A116425, A240523 (pentaflake), A240572 (octaflake).
Sequence in context: A027196 A325877 A100928 * A034140 A109950 A008674
KEYWORD
nonn,easy
AUTHOR
Kival Ngaokrajang, Apr 10 2014
STATUS
approved