OFFSET
0,1
COMMENTS
The nearest integer of perimeter of Cross-Stitch Curve (fractal) after n-th iteration starting with a unit square.
The total side segments after n-th iteration is (5^n)*4.
LINKS
Andrew Howroyd, Table of n, a(n) for n = 0..500
Kival Ngaokrajang, Illustration for n = 0..4
Eric Weisstein's World of Mathematics, Cross-Stitch Curve
EXAMPLE
For n = 1, the total sides = 4 * 5 = 20, each side length = 1/3, the perimeter = 20 * 1/3 = 6.666..; a(1) = 7.
For n = 2, the total sides = 4 * 5^2 = 100, each side length = 1/9, the perimeter = 100 * 1/9 = 11.111..; a(2) = 11.
PROG
(MIT/GNU Scheme) (define (A228079 n) (round->exact (/ (* 4 (expt 5 n)) (expt 3 n)))) - Antti Karttunen, Aug 09 2013
(PARI) a(n) = {round((5^n)*4 / 3^n)} \\ Andrew Howroyd, Nov 05 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Kival Ngaokrajang, Aug 09 2013
EXTENSIONS
Terms a(23) and beyond from Andrew Howroyd, Nov 05 2019
STATUS
approved