{"id":27509,"date":"2015-05-19T23:16:49","date_gmt":"2015-05-20T03:16:49","guid":{"rendered":"http:\/\/sonderbooks.com\/blog\/?p=27509"},"modified":"2016-02-08T23:14:22","modified_gmt":"2016-02-09T03:14:22","slug":"pascals-triangle-shawl-2","status":"publish","type":"post","link":"https:\/\/sonderbooks.com\/blog\/?p=27509","title":{"rendered":"Pascal&#8217;s Triangle Shawl #2"},"content":{"rendered":"<p>Hooray!  Hooray!  Today I finished my second, prettier Pascal&#8217;s Triangle Shawl!<\/p>\n<p><a href=\"https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/PTwhole.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/PTwhole.jpg\" alt=\"PTwhole\" width=\"399\" height=\"268\" class=\"aligncenter size-full wp-image-27510\" srcset=\"https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/PTwhole.jpg 399w, https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/PTwhole-300x202.jpg 300w\" sizes=\"auto, (max-width: 399px) 100vw, 399px\" \/><\/a><\/p>\n<p>Pascal&#8217;s Triangle is the triangle with 1s on the edges, where each entry is the sum of the two entries above it.<\/p>\n<p>So the beginning rows work like this:<\/p>\n<p>1<br \/>\n1 1<br \/>\n1 2 1<br \/>\n1 3 3 1<br \/>\n1 4 6 4 1<br \/>\n1 5 10 10 5 1<br \/>\n1 6 15 20 15 6 1<br \/>\n1 7 21 35 35 21 7 1<\/p>\n<p><a href=\"https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/1to5.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/1to5.jpg\" alt=\"1to5\" width=\"400\" height=\"300\" class=\"aligncenter size-full wp-image-27521\" srcset=\"https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/1to5.jpg 400w, https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/1to5-300x225.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>Now, what I did was choose a color of yarn for each prime.  Then each entry in the triangle is factored, and each number is shown by the colors of its factors.<\/p>\n<p>I did the same thing with <a href=\"https:\/\/sonderbooks.com\/blog\/?p=23805\">my first Pascal&#8217;s Triangle Shawl<\/a>.  With this one, since there are only the primes 2, 3, 5, 7, 11, and 13, I decided to use progressively darker shades of pink and purple, so the shawl would gradually get darker.<\/p>\n<p>Here is a closer look at a section of the shawl:<\/p>\n<p><a href=\"https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/Right-Side.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/Right-Side.jpg\" alt=\"Right Side\" width=\"400\" height=\"300\" class=\"aligncenter size-full wp-image-27522\" srcset=\"https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/Right-Side.jpg 400w, https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/Right-Side-300x225.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>This next picture shows that along the second row, we have the numbers simply in sequence.<\/p>\n<p><a href=\"https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/Right-and-Top.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/Right-and-Top.jpg\" alt=\"Right and Top\" width=\"400\" height=\"300\" class=\"aligncenter size-full wp-image-27523\" srcset=\"https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/Right-and-Top.jpg 400w, https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/Right-and-Top-300x225.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>For math nuts, each row also contains the binomial coefficients, the coefficients in the expansion of<br \/>\n(a+b)^n<\/p>\n<p>This means that the rth entry in the nth row can be calculated with the formula:<br \/>\nn!\/(n-r)!  (Counting the entries in each row as 0 through n.)<\/p>\n<p>Some examples:  The 2nd entry in the 5th row is (5&#215;4)\/(2&#215;1) = 10<\/p>\n<p>The 3rd entry in the 7th row is (7x6x5)\/(3x2x1) = 35<\/p>\n<p>Now, I factor all the numbers in my shawl, so for big numbers, it doesn&#8217;t matter what the actual number is, but the factorization is easy from the formula.<\/p>\n<p>For example, the 4th entry in the 15th row is (15x14x13x12)\/(4x3x2x1) = 3x5x7x13<\/p>\n<p>You can see some of the bigger numbers in this picture:<\/p>\n<p><a href=\"https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/Right-Factored.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/Right-Factored.jpg\" alt=\"Right Factored\" width=\"400\" height=\"300\" class=\"aligncenter size-full wp-image-27524\" srcset=\"https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/Right-Factored.jpg 400w, https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/Right-Factored-300x225.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>Now, there are a couple of characteristics which I believe make the shawl especially beautiful.<\/p>\n<p>One is that because these are the binomial coefficients, once you get to the row of a prime number, every entry in that row has the prime for a factor.<\/p>\n<p>This is easier to see with the actual shawl in front of you, but here again is the big picture.  You can see that once a new color starts, it goes all the way across the row.<\/p>\n<p><a href=\"https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/PTwhole1.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/PTwhole1.jpg\" alt=\"PTwhole\" width=\"399\" height=\"268\" class=\"aligncenter size-full wp-image-27525\" srcset=\"https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/PTwhole1.jpg 399w, https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/PTwhole1-300x202.jpg 300w\" sizes=\"auto, (max-width: 399px) 100vw, 399px\" \/><\/a><\/p>\n<p>What&#8217;s more, by the distributive law, since every entry in a prime row has that prime as a factor, all the sums of those numbers will also have the prime for a factor &#8212; and we end up having inverse triangles of each color.<\/p>\n<p>Here&#8217;s some more detail:<\/p>\n<p><a href=\"https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/Detail2.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/Detail2.jpg\" alt=\"Detail2\" width=\"400\" height=\"300\" class=\"aligncenter size-full wp-image-27526\" srcset=\"https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/Detail2.jpg 400w, https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/Detail2-300x225.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/Detail1.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/Detail1.jpg\" alt=\"Detail1\" width=\"400\" height=\"300\" class=\"aligncenter size-full wp-image-27527\" srcset=\"https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/Detail1.jpg 400w, https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/Detail1-300x225.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>Of course, the very coolest thing about it is that, even if you have no idea of the math involved, the combination is beautiful.<\/p>\n<p>And that simply makes me happy.<\/p>\n<p><a href=\"https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/Modeling-Shawl.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/Modeling-Shawl.jpg\" alt=\"Modeling Shawl\" width=\"400\" height=\"406\" class=\"aligncenter size-full wp-image-27528\" srcset=\"https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/Modeling-Shawl.jpg 518w, https:\/\/sonderbooks.com\/blog\/wp-content\/uploads\/2015\/05\/Modeling-Shawl-295x300.jpg 295w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-count=\"none\" data-via=\"Sonderbooks\">Tweet<\/a><script type=\"text\/javascript\" src=\"http:\/\/platform.twitter.com\/widgets.js\"><\/script><\/p>\n<p>My posts on Mathematical Knitting and related topics are now gathered at <a href=\"http:\/\/www.sonderbooks.com\/sonderknitting\/\">Sonderknitting<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hooray! Hooray! Today I finished my second, prettier Pascal&#8217;s Triangle Shawl! Pascal&#8217;s Triangle is the triangle with 1s on the edges, where each entry is the sum of the two entries above it. So the beginning rows work like this: 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[56,27,206],"tags":[],"class_list":["post-27509","post","type-post","status-publish","format-standard","hentry","category-knitting","category-mathematical","category-prime-factorization-2"],"_links":{"self":[{"href":"https:\/\/sonderbooks.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/27509","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sonderbooks.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sonderbooks.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sonderbooks.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sonderbooks.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=27509"}],"version-history":[{"count":0,"href":"https:\/\/sonderbooks.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/27509\/revisions"}],"wp:attachment":[{"href":"https:\/\/sonderbooks.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=27509"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sonderbooks.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=27509"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sonderbooks.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=27509"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}