主题
Search

谢尔宾斯基筛法


SierpinskiSieve
Sierpinski sieve from rule 90

谢尔宾斯基筛法是由谢尔宾斯基于 1915 年描述的一种分形,在 13 世纪的意大利艺术中就已出现 (Wolfram 2002, p. 43)。它也被称为谢尔宾斯基垫片或谢尔宾斯基三角形。该曲线可以写成 Lindenmayer 系统,初始字符串为"FXF--FF--FF", 字符串重写 规则"F" -> "FF", "X" -> "--FXF++FXF++FXF--", 和角度 60 degrees.

谢尔宾斯基筛法的第 n 次迭代在 Wolfram Language 中实现为SierpinskiMesh[n].

N_n 为迭代 n 后黑色三角形的数量,L_n 为三角形边的长度,A_n 为第 n 次迭代后黑色的 面积 分数。则

N_n=3^n
(1)
L_n=(1/2)^n=2^(-n)
(2)
A_n=L_n^2N_n=(3/4)^n.
(3)

因此,容量维度

d_(cap)=-lim_(n->infty)(lnN_n)/(lnL_n)
(4)
=log_23
(5)
=(ln3)/(ln2)
(6)
=1.584962500...
(7)

(OEIS A020857; Wolfram 1984; Borwein and Bailey 2003, p. 46).

谢尔宾斯基筛法由美丽的递推方程产生

 a_n=a_(n-1) xor 2a_(n-1),
(8)

其中  xor 表示按位 异或。它也由下式给出

 a_n=product_(j; e(j,n)=1)2^(2^(e(j,n)))+1,
(9)

其中 e(j,n) 是由下式定义的第 (j+1) 个最低有效位

 n=sum_(j=0)^te(j,n)2^j
(10)

并且乘积取遍所有满足 e(j,n)=1j (Allouche and Shallit 2003, p. 113)。

SierpinskiSievePascal

谢尔宾斯基筛法由 帕斯卡三角形 (mod 2) 给出,给出序列 1; 1, 1; 1, 0, 1; 1, 1, 1, 1; 1, 0, 0, 0, 1; ... (OEIS A047999; 左图)。换句话说,在帕斯卡三角形中,将所有奇数着色为黑色,将偶数着色为白色,会产生谢尔宾斯基筛法 (Guy 1990; Wolfram 2002, p. 870; 中图)。二项式系数 (n; k) mod 2 可以使用按位运算 AND(NOT(n), k) 计算,给出序列 0; 0, 0; 0, 1, 0; 0, 0, 0, 0; 0, 1, 2, 3, 0; ... (OEIS A102037; 右图),然后如果结果为 0 则将三角形着色为黑色,否则着色为白色。这是 卢卡斯对应定理 对于二项式系数模素数的推论。

SierpinskiSieveRules

令人惊讶的是,基本元胞自动机规则 6090102 (当省略尾随零时) 也产生谢尔宾斯基筛法 (Wolfram 2002, p. 870)。Wolfram (2002, pp. 931-932) 给出了大量可用于计算谢尔宾斯基筛法的算法。

PolygonConstructionTri

Gardner (1977) 和 Watkins (Conway 和 Guy 1996, Krížek et al. 2001) 独立注意到,边数为奇数的可构造多边形的边数由谢尔宾斯基筛法的前 32 行解释为 二进制数给出,给出 1, 3, 5, 15, 17, 51, 85, 255, ... (OEIS A004729, Conway 和 Guy 1996, p. 140)。换句话说,每一行都是不同费马素数的乘积,项由二进制计数给出。


另请参阅

混沌游戏, Lindenmayer 系统, 卢卡斯对应定理, 帕斯卡三角形, 规则 90, 规则 102, 谢尔宾斯基箭头曲线, 谢尔宾斯基地毯, 谢尔宾斯基垫片图, 俄罗斯方块

使用 Wolfram|Alpha 探索

参考文献

Allouche, J.-P. 和 Shallit, J. Automatic Sequences: Theory, Applications, Generalizations. Cambridge, England: Cambridge University Press, 2003.Borwein, J. 和 Bailey, D. "Pascal's Triangle." §2.1 in Mathematics by Experiment: Plausible Reasoning in the 21st Century. Wellesley, MA: A K Peters, pp. 94-95, 2003.Bulaevsky, J. "The Sierpinski Triangle Fractal." http://ejad.best.vwh.net/java/fractals/sierpinski.shtml.Conway, J. H. 和 Guy, R. K. In The Book of Numbers. New York: Springer-Verlag, 1996.Crandall, R. 和 Pomerance, C. Prime Numbers: A Computational Perspective, 2nd ed. New York: Springer-Verlag, 2005.Crownover, R. M. Introduction to Fractals and Chaos. Sudbury, MA: Jones & Bartlett, 1995.Dickau, R. M. "Two-Dimensional L-Systems." http://mathforum.org/advanced/robertd/lsys2d.html.Dickau, R. M. "Typeset Fractals." Mathematica J. 7, 15, 1997. Dickau, R. "Sierpinski-Menger Sponge Code and Graphic." http://library.wolfram.com/infocenter/Demos/4662/.Gardner, M. "Pascal's Triangle." Ch. 15 in Mathematical Carnival: A New Round-Up of Tantalizers and Puzzles from Scientific American. New York: Vintage Books, pp. 194-207, 1977.Guy, R. K. "The Second Strong Law of Small Numbers." Math. Mag. 63, 3-20, 1990.Harris, J. W. 和 Stocker, H. "Sierpinski Gasket." §4.11.7 in Handbook of Mathematics and Computational Science. New York: Springer-Verlag, p. 115, 1998.Kabai, S. Mathematical Graphics I: Lessons in Computer Graphics Using Mathematica. Püspökladány, Hungary: Uniconstant, p. 127, 2002.Krížek, M.; Luca, F.; 和 Somer, L. 17 Lectures on Fermat Numbers: From Number Theory to Geometry. New York: Springer-Verlag, 2001.Lauwerier, H. Fractals: Endlessly Repeated Geometric Figures. Princeton, NJ: Princeton University Press, pp. 13-14, 1991.Mandelbrot, B. B. The Fractal Geometry of Nature. New York: W. H. Freeman, p. 142, 1983.Peitgen, H.-O.; Jürgens, H.; 和 Saupe, D. Chaos and Fractals: New Frontiers of Science. New York: Springer-Verlag, pp. 78-88, 1992.Peitgen, H.-O. 和 Saupe, D. (Eds.). The Science of Fractal Images. New York: Springer-Verlag, p. 282, 1988.Sierpiński, W. "Sur une courbe dont tout point est un point de ramification." C. R. A. S. 160, 302-305, 1915.Simmt, E. 和 Davis, B. "Fractal Cards: A Space for Exploration in Geometry and Discrete Mathematics." Math. Teacher 91, 102-108, 1998.Sloane, N. J. A. Sequences A004729, A020857, A047999, 和 A102037 in "The On-Line Encyclopedia of Integer Sequences."Steward, I. "Four Encounters with Sierpiński's Gasket." Math. Intel. 17, pp. 52-64, 1995.Sved, M. "Divisibility--with Visibility." Math. Intell. 10, 56-64, 1988.Wagon, S. Mathematica in Action. New York: W. H. Freeman, pp. 108 和 151-153, 1991.Update a linkWang, P. "Renderings." http://www.ugcs.caltech.edu/~peterw/portfolio/renderings/Wolfram, S. "Computation Theory of Cellular Automata." Comm. Math. Phys. 96, 15-57, 1984.Wolfram, S. A New Kind of Science. Champaign, IL: Wolfram Media, pp. 870931-932, 2002.

在 Wolfram|Alpha 上引用

谢尔宾斯基筛法

请引用本文为

Weisstein, Eric W. "谢尔宾斯基筛法。" 来自 MathWorld--Wolfram 网络资源。 https://mathworld.net.cn/SierpinskiSieve.html

主题分类