TOPICS
Search

Cantor Square Fractal


CantorsSquare

The Cantor square fractal is a construction on a unit square using a string rewriting system. Begin with an unfilled cell labeled [0], let 1 denote a filled cell, and iterate the rules

 {0->[0 1 0; 1 1 1; 0 1 0],1->[1 1 1; 1 1 1; 1 1 1]}.
(1)

Each replacement subdivides a square into nine congruent squares. Their side length after n iterations, where n is a nonnegative integer, is

 L_n=(1/3)^n
(2)

and the number N_n of filled cells is given by the recurrence relation

 N_n=4N_(n-1)+5·9^(n-1),
(3)

for n>=1, where N_0=0. The first few numbers of filled cells, beginning at n=1, are 5, 65, 665, 6305, ... (OEIS A118004). Expanding out gives

 N_n=5sum_(k=1)^n4^(n-k)9^(k-1)=9^n-4^n.
(4)

The capacity dimension is therefore

D=-lim_(n->infty)(lnN_n)/(lnL_n)
(5)
=2.
(6)

The unfilled cells follow the Cantor dust construction. Their total area is (4/9)^n, while the filled area is 1-(4/9)^n and tends to 1. The union of all filled cells contains an open square and has capacity dimension 2. This does not mean that every point is filled. For example, the four corners of the initial unit square remain unfilled.


See also

Box Fractal, Cantor Dust, Haferman Carpet, Sierpiński Carpet

Explore with Wolfram|Alpha

References

Lauwerier, H. Fractals: Endlessly Repeated Geometric Figures. Princeton, NJ: Princeton University Press, pp. 82-83, 1991.Sloane, N. J. A. Sequence A118004 in "The On-Line Encyclopedia of Integer Sequences."

Referenced on Wolfram|Alpha

Cantor Square Fractal

Cite this as:

Weisstein, Eric W. "Cantor Square Fractal." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/CantorSquareFractal.html

Subject classifications