{{Short description|Triangular array of the binomial coefficients}} {{Image frame |width=270 |caption=The first eight rows of Pascal's triangle |innerstyle=background-color:inherit; color:inherit |content= }} In [[mathematics]], '''Pascal's triangle''' is an infinite [[triangular array]] of the [[binomial coefficient]]s which play a crucial role in probability theory, [[combinatorics]], and algebra. In much of the [[Western world]], it is named after the [[France | French]] mathematician [[Blaise Pascal]], although other [[mathematician]]s studied it centuries before him in [[India]],Maurice Winternitz, ''History of Indian Literature'', Vol. III [[Persia]], [[China]], [[Germany]], and [[Italy]].{{cite book |author=Peter Fox |title=Cambridge University Library: the great collections |url=https://books.google.com/books?id=xxlgKP5thL8C&pg=PA13 |year=1998 |publisher=Cambridge University Press |isbn=978-0-521-62647-7 |page=13}} The rows of Pascal's triangle are conventionally enumerated starting with row at the top (the 0th row). The entries in each row are numbered from the left beginning with and are usually staggered relative to the numbers in the adjacent rows. The triangle may be constructed in the following manner: In row 0 (the topmost row), there is a unique nonzero entry 1. Each entry of each subsequent row is constructed by adding the number above and to the left with the number above and to the right, treating blank entries as 0. For example, the initial number of row 1 (or any other row) is 1 (the sum of 0 and 1), whereas the numbers 1 and 3 in row 3 are added to produce the number 4 in row 4. == Formula == [[File:PascalTriangleAnimated2.gif|thumb|upright=1|In Pascal's triangle, each number is the sum of the two numbers directly above it.]]In the th row of Pascal's triangle, the th entry is denoted , pronounced "{{mvar|n}} choose {{mvar|k}}" because it describes the number of [[#Combinations|combinations]]: the number of ways of choosing {{tmath|k}} things from among a collection of {{tmath|n}} things. Row numbering starts at 0, and likewise entries within a row are numbered from 0. For example, the topmost entry is . With this notation, the construction of the previous paragraph may be written as for any positive integer and any integer .The binomial coefficient is conventionally set to zero if ''k'' is either less than zero or greater than ''n''. This recurrence for the binomial coefficients is known as [[Pascal's rule]]. An arbitrary binomial coefficient can be calculated as == History == [[File:Yanghui triangle.gif|thumb|right|upright=1|[[Yang Hui]]'s triangle, depicted using [[Counting rods|rod numerals]], appears in [[Jade Mirror of the Four Unknowns]], a mathematical work by [[Zhu Shijie]], dated 1303.]] [[File:TrianguloPascal.jpg|thumb|right|upright=1.25|[[Blaise Pascal|Pascal]]'s version of the triangle]] The pattern of numbers that forms Pascal's triangle was known well before [[Blaise Pascal|Pascal]]'s time.{{cite journal |last1=Cobeli |first1=Cristian |last2=Zaharescu |first2=Alexandru |year=2013 |title=Promenade around Pascal Triangle — Number Motives |journal=Bulletin mathématique de la Société des Sciences Mathématiques de Roumanie |volume=56 (104) |issue=1 |page=74 |publisher=Societatea de Științe Matematice din România |jstor=43679285 |url=https://www.jstor.org/stable/43679285 |quote=Known for more than a millenium in Asia and Europe (cf. Burton [Bur'07]), the origins of the Pascal triangle are lost in the mist of time. In Chandahsāstra, the Hindu scholar Pingala has classified meters (chandas) or rhythm of poems that are closely allied to music (Bag [Bag'66]). He enumerated and counted the meters of a given length ''n'' that have exactly ''r'' syllables of a kind. In doing this, he obtained Meruprastāra (the stairway to the mythical mountain Meru). Then Halayudha (cca. 975) in Mṛta-Sañjīvanī, a text of commentaries on Pingala's Chandahsāstra, clearly described Meruprastāra as what is today known as the arithmetic triangle. Among those who considered the triangle before Pascal, we find: Al-Karaji (953-1029); Jia Xian (1010-1070), China; Al-Samawal al-Maghribi...}} {{cite book |editor-last1=Böckle |editor-first1=Gebhard |editor-last2=Burns |editor-first2=David |editor-last3=Goss |editor-first3=David |editor-last4=Thakur |editor-first4=Dinesh |editor-last5=Trihan |editor-first5=Fabien |editor-last6=Ulmer |editor-first6=Douglas |title=Arithmetic Geometry Over Global Function Fields |year=2014 |publisher=Springer Basel |isbn=9783034808538 |page=185 |quote=In the 3rd century B.C. the Indian mathematician Pingala presented what is now known as "Pascal's triangle" giving binomial coefficients in a triangle. Much later, in the 10th century A.D., the Indian mathematician Halayudha and the Persian mathematician al-Karaji derived similar results as did the 13th century Chinese mathematician Yang Hui.}} In India, the ''[[Chandaḥśāstra]]'' by the [[Indian Mathematics| Ancient Indian poet and mathematician]] [[Piṅgala]] (3rd or 2nd century BC) describes a method of arranging two types of syllables to form [[metre (poetry)|metre]]s of various lengths and counting them; as interpreted and elaborated by Pingala's 10th-century commentator [[Halāyudha]] his "method of pyramidal expansion" (''meru-prastāra'') for counting metres is equivalent to Pascal's triangle.{{cite journal |last=Alsdorf |first=Ludwig |year=1991 |orig-year=1933 |title=The Pratyayas: Indian Contribution to Combinatorics |journal=Indian Journal of History of Science |volume=26 |number=1 |pages=17–61 |url=https://insa.nic.in/(S(f0a4mvblfb5vfmialsdau2an))/writereaddata/UpLoadedFiles/IJHS/Vol26_1_3_SRSarma.pdf}} Translated by S. R. Sarma from {{cite journal |last=Alsdorf |first=Ludwig |display-authors=0 |title={{mvar|π}} Die Pratyayas. Ein Beitrag zur indischen Mathematik |journal=Zeitschrift für Indologie und Iranistik |volume=9 |year=1933 |pages=97–157 }} {{pb}} {{cite journal |last=Bag |first=Amulya Kumar |title=Binomial theorem in ancient India |journal=Indian Journal of History of Science |volume=1 |number=1 |year=1966 |pages=68–74 |url=http://repository.ias.ac.in/70374/1/10-pub.pdf }} {{pb}} Tertiary sources: {{pb}} {{cite book |title=A Concise History Of Science In India |year=1971 |publisher=Indian National Science Academy |editor-last=Bose |editor-first=D. M. |editor-link=Debendra Mohan Bose |last=Sen |first=Samarendra Nath |chapter=Mathematics |chapter-url=https://archive.org/details/in.ernet.dli.2015.502083/page/n178 |at=Ch. 3, {{pgs|136–212}}, esp. "Permutations, Combinations and Pascal Triangle", {{pgs|156–157}} }} {{pb}} {{cite journal |title=The Binomial Coefficient Function |last=Fowler |first=David H. |author-link= David Fowler (mathematician) |journal=The American Mathematical Monthly |year=1996 |volume=103 |number=1 |pages=1–17, esp. §4 "A Historical Note", {{pgs|10–17}} |doi=10.2307/2975209 |jstor=2975209 }}The 6th-century Indian mathematician and astronomer [[Varāhamihira]] later described a recursive method for computing binomial coefficients that is mathematically equivalent to Pascal's triangle, although arranged in a different orientation.{{cite web |title=Varahamihira (505–587) – Biography |url=https://mathshistory.st-andrews.ac.uk/Biographies/Varahamihira/ |website=MacTutor History of Mathematics Archive |publisher=University of St Andrews |access-date=26 July 2026}} The Persian mathematician Karaji (953–1029), roughly contemporary with Halāyudha, wrote a now-lost book which contained an explicit description of Pascal's triangle.{{Cite book|url=https://books.google.com/books?id=kt9DIY1g9HYC&q=al+karaji+pascal%27s+triangle&pg=PA132|title=Encyclopaedia of the History of Science, Technology, and Medicine in Non-Western Cultures|last=Selin|first=Helaine|author-link=Helaine Selin|date=2008-03-12|publisher=Springer Science & Business Media|isbn=9781402045592|language=en|page=132|bibcode=2008ehst.book.....S|quote=Other, lost works of al-Karaji's are known to have dealt with inderterminate algebra, arithmetic, inheritance algebra, and the construction of buildings. Another contained the first known explanation of the arithmetical (Pascal's) triangle; the passage in question survived through al-Sama'wal's Bahir (twelfth century) which heavily drew from the Badi.}}{{Cite book |last=Rashed |first=R. |url=https://books.google.com/books?id=vSkClSvU_9AC&pg=PA62 |title=The Development of Arabic Mathematics: Between Arithmetic and Algebra |date=1994-06-30 |publisher=Springer Science & Business Media |isbn=978-0-7923-2565-9 |pages=63 |language=en}}{{Cite book|url=https://books.google.com/books?id=kAjABAAAQBAJ&q=al+karaji+binomial+theorem&pg=PA54|title=From Alexandria, Through Baghdad: Surveys and Studies in the Ancient Greek and Medieval Islamic Mathematical Sciences in Honor of J.L. Berggren|last1=Sidoli|first1=Nathan|last2=Brummelen|first2=Glen Van|date=2013-10-30|publisher=Springer Science & Business Media|isbn=9783642367366|language=en|page=54|quote=However, the use of binomial coefficients by Islamic mathematicians of the eleventh century, in a context which had deep roots in Islamic mathematics, suggests strongly the table was a local discovery - most probably of al-Karaji."}} His work was preserved and repeated by the Persian polymath [[Omar Khayyám]] (also known as Khayyám Nishapuri, after his birthplace of [[Nishapur]], 1048–1131) in his ''Treatise on Demonstration of Problems of Algebra'' (c. 1070). Khayyám's distinctive contribution was to apply the triangle's binomial coefficients to a general method for extracting [[nth root|''n''th roots]], an application not found in the earlier Indian or Karajian sources.{{citation | last = Coolidge | first = J. L. | author-link = Julian Coolidge | journal = [[The American Mathematical Monthly]] | jstor = 2305028 | mr = 0028222 | pages = 147–157 | title = The story of the binomial theorem | volume = 56 | issue = 3 | year = 1949| doi = 10.2307/2305028 }}. Owing to this innovation and Khayyám's broad influence on later Islamic mathematics, the triangle is known in Iran as '''Khayyam's triangle''' ({{langx|fa|مثلث خیام|label=none}}) or the '''Khayyam–Pascal triangle''' ({{langx|fa|مثلث خیام-پاسکال|label=none}}).{{cite book |author=Kennedy, E. |title=Omar Khayyam. The Mathematics Teacher 1958 |jstor=i27957284|year=1966 |publisher=National Council of Teachers of Mathematics |pages=140–142}}{{cite journal |last=Khatami |first=S. M. A. |title=Beauties of Khayyam-Pascal triangle |journal=Mathematics and Society |volume=5 |issue=2 |year=2020 |pages=75–92 |doi=10.22108/msci.2021.126885.1413}}{{cite arXiv |last1=Teimoori Faal |first1=Hossein |last2=Khodakarami |first2=Hasan |title=Khayyam-Pascal Determinantal Arrays, Star of David Rule and Log-Concavity |eprint=2302.01637 |class=math.CO |year=2023}} Several theorems related to the triangle were known, including the [[binomial theorem]]. Pascal's triangle was known in China during the 11th century through the work of the Chinese mathematician [[Jia Xian]] (1010–1070). During the 13th century, [[Yang Hui]] (1238–1298) defined the triangle, and it is known as '''Yang Hui's triangle''' ({{lang-zh|s=杨辉三角|t=楊輝三角|labels=no}}) in China.Weisstein, Eric W. (2003). ''CRC concise encyclopedia of mathematics'', p. 2169. {{isbn|978-1-58488-347-0}}. In Europe, Pascal's triangle appeared for the first time in the ''Arithmetic'' of [[Jordanus de Nemore]] (13th century).{{cite journal |last1=Hughes |first1=Barnabas |title=The arithmetical triangle of Jordanus de Nemore |journal=Historia Mathematica |date=1 August 1989 |volume=16 |issue=3 |pages=213–223 |doi=10.1016/0315-0860(89)90018-9 |doi-access=free }} The binomial coefficients were calculated by [[Gersonides]] during the early 14th century, using the multiplicative formula for them.{{citation|contribution=The arithmetical triangle|first=A. W. F.|last=Edwards|pages=166–180|title=Combinatorics: Ancient and Modern|publisher=Oxford University Press|year=2013|editor1-first=Robin|editor1-last=Wilson|editor-link=Robin Wilson (mathematician)|editor2-first=John J.|editor2-last=Watkins}}. [[Petrus Apianus]] (1495–1552) published the full triangle on the [[Book frontispiece|frontispiece]] of his book on business calculations in 1527.{{citation|title=Nature of Mathematics|first=Karl J.|last=Smith|publisher=Cengage Learning|year=2010|isbn=9780538737586|page=10|url=https://books.google.com/books?id=Di0HyCgDYq8C&pg=PA10}}. [[Michael Stifel]] published a portion of the triangle (from the second to the middle column in each row) in 1544, describing it as a table of [[figurate number]]s. In Italy, Pascal's triangle is referred to as '''Tartaglia's triangle''', named for the Italian algebraist [[Nicolo Tartaglia|Tartaglia]] (1500–1577), who published six rows of the triangle in 1556. [[Gerolamo Cardano]] also published the triangle as well as the additive and multiplicative rules for constructing it in 1570. Pascal's {{lang|fr|Traité du triangle arithmétique}} (''Treatise on Arithmetical Triangle'') was published posthumously in 1665.{{Cite book |last=Pascal |first=Blaise |author-link=Blaise Pascal |url=https://gallica.bnf.fr/ark:/12148/btv1b86262012/f1.image |title=Traité du triangle arithmétique, avec quelques autres petits traitez sur la mesme matière. Par Monsieur Pascal |date=1665 |language=fr}} In this, Pascal collected several results then known about the triangle, and employed them to solve problems in [[probability theory]]. The triangle was later named for Pascal by [[Pierre Raymond de Montmort]] (1708) who called it {{lang|fr|table de M. Pascal pour les combinaisons}} (French: Mr. Pascal's table for combinations) and [[Abraham de Moivre]] (1730) who called it {{lang|la|Triangulum Arithmeticum PASCALIANUM}} (Latin: Pascal's Arithmetic Triangle), which became the basis of the modern Western name.{{Cite journal | doi = 10.2307/2975209 | title = The Binomial Coefficient Function | first = David | last = Fowler | author-link = David Fowler (mathematician) | journal = [[The American Mathematical Monthly]] | volume = 103 | issue = 1 |date=January 1996 | pages = 1–17 | jstor = 2975209 }} See in particular p. 11. == Binomial expansions == [[File:Binomial theorem visualisation.svg|thumb|upright=1.25|Visualisation of binomial expansion up to the 4th power]] Pascal's triangle determines the coefficients which arise in [[binomial expansion]]s. For example, in the expansion the coefficients are the entries in the second row of Pascal's triangle: , , . In general, the [[binomial theorem]] states that when a [[binomial (polynomial)|binomial]] like is raised to a positive integer power , the expression expands as where the coefficients are precisely the numbers in row of Pascal's triangle: The entire left diagonal of Pascal's triangle corresponds to the coefficient of in these binomial expansions, while the next left diagonal corresponds to the coefficient of , and so on. To see how the binomial theorem relates to the simple construction of Pascal's triangle, consider the problem of calculating the coefficients of the expansion of in terms of the corresponding coefficients of , where we set for simplicity. Suppose then that Now {{Image frame |width=260 |caption=The first six rows of Pascal's triangle as binomial coefficients |innerstyle=background-color:inherit; color:inherit |content= }} The two summations can be reindexed with and combined to yield Thus the extreme left and right coefficients remain as 1, and for any given , the coefficient of the term in the polynomial is equal to , the sum of the and coefficients in the previous power . This is indeed the downward-addition rule for constructing Pascal's triangle. It is not difficult to turn this argument into a [[proof (mathematics)|proof]] (by [[mathematical induction]]) of the binomial theorem. Since , the coefficients are identical in the expansion of the general case. An interesting consequence of the binomial theorem is obtained by setting both variables , so that In other words, the sum of the entries in the th row of Pascal's triangle is the th power of 2. This is equivalent to the statement that the number of subsets of an -element set is , as can be seen by observing that each of the elements may be independently included or excluded from a given subset. == Combinations == A second useful application of Pascal's triangle is in the calculation of [[combination]]s. The number of combinations of items taken at a time, i.e. the number of subsets of elements from among elements, can be found by the equation :. (Other common notations for {{tmath|\tbinom nk}} include {{tmath|C(n, k)}}, {{tmath|C_k^n }}, and {{tmath| {}_nC_k }}.) This is equal to entry in row of Pascal's triangle. Rather than performing the multiplicative calculation, one can simply look up the appropriate entry in the triangle (constructed by additions). For example, suppose 3 workers need to be hired from among 7 candidates; then the number of possible hiring choices is 7 choose 3, the entry 3 in row 7 of the above table (taking into consideration the first row is the 0th row), which is .{{Cite web |url=http://5010.mathed.usu.edu/Fall2018/HWheeler/probability.html |access-date=2023-06-01 |website=5010.mathed.usu.edu|title=Pascal's Triangle in Probability}} == Relation to binomial distribution and convolutions == When divided by , the th row of Pascal's triangle becomes the [[binomial distribution]] in the symmetric case where . By the [[central limit theorem]], this distribution approaches the [[normal distribution]] as increases. This can also be seen by applying [[Stirling's formula]] to the factorials involved in the formula for combinations. This is related to the operation of [[discrete convolution]] in two ways. First, polynomial multiplication corresponds exactly to discrete convolution, so that repeatedly convolving the sequence with itself corresponds to taking powers of , and hence to generating the rows of the triangle. Second, repeatedly convolving the distribution function for a [[random variable]] with itself corresponds to calculating the distribution function for a sum of ''n'' independent copies of that variable; this is exactly the situation to which the central limit theorem applies, and hence results in the normal distribution in the limit. (The operation of repeatedly taking a convolution of something with itself is called the [[convolution power]].) == Patterns and properties == Pascal's triangle has many properties and contains many patterns of numbers. [[File:Pascal's Triangle animated binary rows.gif|thumb|upright=1|Each frame represents a row in Pascal's triangle. Each column of pixels is a number in binary with the least significant bit at the bottom. Light pixels represent 1 and dark pixels 0.]] [[File:pascal_triangle_compositions.svg|thumb|upright=1|The numbers of [[composition (combinatorics)|compositions]] of ''n''+1 into ''k''+1 ordered partitions form Pascal's triangle.]] === Rows === * The sum of the elements of a single row is twice the sum of the row preceding it. For example, row 0 (the topmost row) has a value of 1, row 1 has a value of 2, row 2 has a value of 4, and so forth. This is because every item in a row produces two items in the next row: one left and one right. The sum of the elements of row equals to . *Taking the product of the elements in each row, the sequence of products {{OEIS|id=A001142}} is related to the base of the [[natural logarithm]], ''[[E (mathematical constant)|e]]''.{{citation | last = Brothers | first = H. J. | doi = 10.4169/math.mag.85.1.51 | journal = [[Mathematics Magazine]] | pages = 51 | title = Finding e in Pascal's triangle | volume = 85 | year = 2012| issue = 1 | s2cid = 218541210 }}.{{citation | last = Brothers | first = H. J. | doi =10.1017/S0025557200004204 | journal = [[The Mathematical Gazette]] | pages = 145–148 | title = Pascal's triangle: The hidden stor-''e'' | volume = 96 | year = 2012| issue = 535 | s2cid = 233356674 }}. Specifically, define the sequence for all as follows: {{pb}} Then, the ratio of successive row products is and the ratio of these ratios is The right-hand side of the above equation takes the form of the limit definition of [[e (mathematical constant)|]] * [[pi|]] can be found in Pascal's triangle by use of the [[Nilakantha Somayaji|Nilakantha]] [[Series (mathematics)|infinite series]].{{citation | last = Foster | first = T. | doi = 10.5951/mathteacher.108.4.0246 | journal = [[Mathematics Teacher]] | pages = 247 | title = Nilakantha's Footprints in Pascal's Triangle | volume = 108 | year = 2014}} * Some of the numbers in Pascal's triangle correlate to numbers in [[Lozanić's triangle]]. * The sum of the squares of the elements of row {{mvar|n}} equals the middle element of row {{math|2''n''}}. For example, {{math|1=12 + 42 + 62 + 42 + 12 = 70}}. In general form, * In any even row , the middle term minus the term two spots to the left equals a [[Catalan number]], specifically . For example, in row 4, which is 1, 4, 6, 4, 1, we get the 3rd Catalan number . * In a row {{mvar|p}}, where {{mvar|p}} is a [[prime number]], all the terms in that row except the 1s are divisible by {{mvar|p}}. This can be proven easily, from the multiplicative formula . Since the denominator can have no prime factors equal to {{mvar|p}}, so {{mvar|p}} remains in the numerator after integer division, making the entire entry a multiple of {{mvar|p}}. * ''Parity'': To count [[odd number|odd]] terms in row {{mvar|n}}, convert {{mvar|n}} to [[binary numeral system|binary]]. Let {{mvar|x}} be the number of 1s in the binary representation. Then the number of odd terms will be {{math|2''x''}}. These numbers are the values in [[Gould's sequence]].{{citation | last = Fine | first = N. J. | doi = 10.2307/2304500 | journal = [[American Mathematical Monthly]] | mr = 0023257 | pages = 589–592 | title = Binomial coefficients modulo a prime | volume = 54 | issue = 10 | year = 1947| jstor = 2304500 }}. See in particular Theorem 2, which gives a generalization of this fact for all prime moduli. * Every entry in row 2''n'' − 1, ''n'' ≥ 0, is odd.{{citation | last = Hinz | first = Andreas M. | doi = 10.2307/2324061 | issue = 6 | journal = The American Mathematical Monthly | mr = 1166003 | pages = 538–544 | title = Pascal's triangle and the Tower of Hanoi | volume = 99 | year = 1992| jstor = 2324061 }}. Hinz attributes this observation to an 1891 book by [[Édouard Lucas]], ''Théorie des nombres'' (p. 420). *''Polarity'': When the elements of a row of Pascal's triangle are alternately added and subtracted together, the result is 0. For example, row 6 is 1, 6, 15, 20, 15, 6, 1, so the formula is 1 − 6 + 15 − 20 + 15 − 6 + 1 = 0. === Diagonals === [[File:Pascal_triangle_simplex_numbers.svg|thumb|upright=1.25|Derivation of [[simplex]] numbers from a left-justified Pascal's triangle]] The diagonals of Pascal's triangle contain the [[Figurate numbers#Triangular numbers and their analogs in higher dimensions|figurate numbers]] of simplices: * The diagonals going along the left and right edges contain only 1's. * The diagonals next to the edge diagonals contain the [[natural number]]s in order. The 1-dimensional simplex numbers increment by 1 as the line segments extend to the next whole number along the [[number line]]. * Moving inwards, the next pair of diagonals contain the [[triangular number]]s in order. * The next pair of diagonals contain the [[tetrahedral number]]s in order, and the next pair give [[pentatope number]]s. :: The symmetry of the triangle implies that the ''n''th d-dimensional number is equal to the ''d''th ''n''-dimensional number. An alternative formula that does not involve recursion is where ''n''(''d'') is the [[rising factorial]]. The geometric meaning of a function ''P''''d'' is: ''P''''d''(1) = 1 for all ''d''. Construct a ''d''-[[dimensional]] triangle (a 3-dimensional [[triangle]] is a [[tetrahedron]]) by placing additional dots below an initial dot, corresponding to ''P''''d''(1) = 1. Place these dots in a manner analogous to the placement of numbers in Pascal's triangle. To find P''d''(''x''), have a total of ''x'' dots composing the target shape. P''d''(''x'') then equals the total number of dots in the shape. A 0-dimensional triangle is a point and a 1-dimensional triangle is simply a line, and therefore ''P''0(''x'') = 1 and ''P''1(''x'') = ''x'', which is the sequence of natural numbers. The number of dots in each layer corresponds to ''P''''d'' − 1(''x''). === Calculating a row or diagonal by itself === There are simple algorithms to compute all the elements in a row or diagonal without computing other elements or factorials. To compute row with the elements , begin with . For each subsequent element, the value is determined by multiplying the previous value by a fraction with slowly changing numerator and denominator: : For example, to calculate row 5, the fractions are , , , and , and hence the elements are , , , etc. (The remaining elements are most easily obtained by symmetry.) To compute the diagonal containing the elements begin again with and obtain subsequent elements by multiplication by certain fractions: : For example, to calculate the diagonal beginning at , the fractions are , and the elements are , etc. By symmetry, these elements are equal to , etc. [[File:pascal_triangle_fibonacci_numbers.svg|thumb|[[Fibonacci sequence]] in Pascal's triangle]] === Overall patterns and properties === [[File:Sierpinski Pascal triangle.svg|thumb|A level-4 approximation to a [[Sierpiński triangle]] obtained by shading the first 32 rows of a Pascal triangle white if the binomial coefficient is even and black if it is odd.]] * The pattern obtained by coloring only the odd numbers in Pascal's triangle closely resembles the [[fractal]] known as the [[Sierpiński triangle]]. This resemblance becomes increasingly accurate as more rows are considered; in the limit, as the number of rows approaches infinity, the resulting pattern ''is'' the Sierpiński triangle, assuming a fixed perimeter. More generally, numbers could be colored differently according to whether or not they are multiples of 3, 4, etc.; this results in other similar patterns. :As the proportion of black numbers tends to zero with increasing ''n'', a corollary is that the proportion of odd binomial coefficients tends to zero as ''n'' tends to infinity.Ian Stewart, "How to Cut a Cake", Oxford University Press, page 180