Sierpinski Gasket
Last updated at February 26, 2026 by Teachoo
Transcript
Pattern of Triangles & Holes in Sierpinski GasketWe can figure the Math behind the pattern. We use two variables to track what is happening at any given step (๐): ๐ป_๐ : The number of Remaining triangles ๐ฏ_๐ : The number of Holes created Now, Step 0: ๐_0=1 (Just the starting triangle), ๐ป_0=0 (No holes yet) Step 1: ๐_1=3 (We kept 3 out of 4), ๐ป_1=1 (We removed 1) Step 2: ๐_2=3 ร 3=9(3^2 ),๐ป_2=1(old)+3(new)=4 Step 3: ๐_3=3 ร 3 ร 3=27(3^3 ),๐ป_3=1+3+3^2= 13 The Formulas Thus, Remaining Triangles: ๐_๐=3^๐ Holes: ๐ป_๐=๐ป_(๐โ1)+๐_(๐โ1) (which expands to 1+3+โ 3^2+โฆ+3^(๐โ1) )