{"id":280,"date":"2017-11-15T20:40:38","date_gmt":"2017-11-16T04:40:38","guid":{"rendered":"https:\/\/blogs.ubc.ca\/organizingchaos\/?p=280"},"modified":"2017-11-15T21:28:25","modified_gmt":"2017-11-16T05:28:25","slug":"mathematical-aside-golden-mean-shift-and-pascals-triangle-part-2","status":"publish","type":"post","link":"https:\/\/blogs.ubc.ca\/organizingchaos\/2017\/11\/15\/mathematical-aside-golden-mean-shift-and-pascals-triangle-part-2\/","title":{"rendered":"Mathematical Aside: Golden Mean Shift and Pascal&#8217;s Triangle (Part 2)"},"content":{"rendered":"<p>As we discussed in <a href=\"https:\/\/blogs.ubc.ca\/organizingchaos\/2017\/05\/21\/mathematical-aside-golden-mean-shift-and-pascals-triangle\/\">Part 1<\/a>, we noticed a common pattern in the the <img src='https:\/\/s0.wp.com\/latex.php?latex=m%5E%7Bth%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='m^{th}' title='m^{th}' class='latex' \/> element in the <img src='https:\/\/s0.wp.com\/latex.php?latex=n%5E%7Bth%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n^{th}' title='n^{th}' class='latex' \/> diagonal, <img src='https:\/\/s0.wp.com\/latex.php?latex=d_%7Bm%2Cn%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='d_{m,n}' title='d_{m,n}' class='latex' \/>,\u00a0 of Pascal&#8217;s Triangle and the function <img src='https:\/\/s0.wp.com\/latex.php?latex=c_%7Bm%2Cn%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='c_{m,n}' title='c_{m,n}' class='latex' \/>, denoting the set of binary strings of length <img src='https:\/\/s0.wp.com\/latex.php?latex=n&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n' title='n' class='latex' \/> with exactly <img src='https:\/\/s0.wp.com\/latex.php?latex=m&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='m' title='m' class='latex' \/> non-adjacent ones. Today we derive an explicit formula for <img src='https:\/\/s0.wp.com\/latex.php?latex=c_%7Bm%2Cn%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='c_{m,n}' title='c_{m,n}' class='latex' \/> in two ways.<\/p>\n<p>Firstly, some more notation. The element in <img src='https:\/\/s0.wp.com\/latex.php?latex=r%5E%7Bth%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='r^{th}' title='r^{th}' class='latex' \/> row and <img src='https:\/\/s0.wp.com\/latex.php?latex=k%5E%7Bth%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='k^{th}' title='k^{th}' class='latex' \/> column in Pascal&#8217;s Triangle is denoted by <img src='https:\/\/s0.wp.com\/latex.php?latex=%7Br%7D%5Cchoose%7Bk%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{r}\\choose{k}' title='{r}\\choose{k}' class='latex' \/>. Then we can see <img src='https:\/\/s0.wp.com\/latex.php?latex=d_%7Bm%2Cn%7D+%3D+%7Bn%2Bm-1%2Cm%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='d_{m,n} = {n+m-1,m}' title='d_{m,n} = {n+m-1,m}' class='latex' \/>. Unfortunately,\u00a0<img src='https:\/\/s0.wp.com\/latex.php?latex=c_%7Bm%2Cn%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='c_{m,n}' title='c_{m,n}' class='latex' \/> is at a slight shift. To see this, we think about how long the string needs to be just so can fit in <img src='https:\/\/s0.wp.com\/latex.php?latex=m&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='m' title='m' class='latex' \/> ones. The answer is <img src='https:\/\/s0.wp.com\/latex.php?latex=2%28m-1%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='2(m-1)' title='2(m-1)' class='latex' \/>. While the <img src='https:\/\/s0.wp.com\/latex.php?latex=d_%7Bm%2Cn%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='d_{m,n}' title='d_{m,n}' class='latex' \/> is non-zero straight away, it takes <img src='https:\/\/s0.wp.com\/latex.php?latex=c_%7Bm%2Cn%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='c_{m,n}' title='c_{m,n}' class='latex' \/>\u00a0<img src='https:\/\/s0.wp.com\/latex.php?latex=2%28m-1%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='2(m-1)' title='2(m-1)' class='latex' \/> increments to the length before it is non-zero. Therefore, <img src='https:\/\/s0.wp.com\/latex.php?latex=%7Cc_%7Bm%2Cn%7D%7C%3Dd_%7Bm%2Cn-2%28m-1%29%7D%3D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|c_{m,n}|=d_{m,n-2(m-1)}=' title='|c_{m,n}|=d_{m,n-2(m-1)}=' class='latex' \/> <img src='https:\/\/s0.wp.com\/latex.php?latex=%7Bn-%28m-1%29%7D%5Cchoose%7Bm%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{n-(m-1)}\\choose{m}' title='{n-(m-1)}\\choose{m}' class='latex' \/>.<\/p>\n<p>Another way to see this requires knowledge of combinations.\u00a0 If we consider the unconstrained system, the clearly we have <img src='https:\/\/s0.wp.com\/latex.php?latex=u_%7Bm%2Cn%7D+%7Bn%7D%5Cchoose%7Bm%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='u_{m,n} {n}\\choose{m}' title='u_{m,n} {n}\\choose{m}' class='latex' \/> options. We can construct a bijection from <img src='https:\/\/s0.wp.com\/latex.php?latex=u_%7Bm%2Cn-%28m-1%29%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='u_{m,n-(m-1)}' title='u_{m,n-(m-1)}' class='latex' \/> to\u00a0<img src='https:\/\/s0.wp.com\/latex.php?latex=c_%7Bm%2Cn%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='c_{m,n}' title='c_{m,n}' class='latex' \/> as follows:<\/p>\n<ul>\n<li>For every element in\u00a0<img src='https:\/\/s0.wp.com\/latex.php?latex=u_%7Bm%2Cn-%28m-1%29%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='u_{m,n-(m-1)}' title='u_{m,n-(m-1)}' class='latex' \/>, we can add append a 0 to all but the rightmost 1 and construct a unique element in\u00a0<img src='https:\/\/s0.wp.com\/latex.php?latex=c_%7Bm%2Cn%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='c_{m,n}' title='c_{m,n}' class='latex' \/><\/li>\n<li>For every element in\u00a0<img src='https:\/\/s0.wp.com\/latex.php?latex=c_%7Bm%2Cn%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='c_{m,n}' title='c_{m,n}' class='latex' \/>, we can add delete a 0 from the right side of all but the rightmost 1 and construct a unique element in\u00a0<img src='https:\/\/s0.wp.com\/latex.php?latex=u_%7Bm%2Cn-%28m-1%29%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='u_{m,n-(m-1)}' title='u_{m,n-(m-1)}' class='latex' \/><\/li>\n<\/ul>\n<p>Thus <img src='https:\/\/s0.wp.com\/latex.php?latex=%7Cc_%7Bm%2Cn%7D%7C+%3D+%7Cu_%7Bm%2Cn-%28m-1%29%7D%7C%3D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='|c_{m,n}| = |u_{m,n-(m-1)}|=' title='|c_{m,n}| = |u_{m,n-(m-1)}|=' class='latex' \/> <img src='https:\/\/s0.wp.com\/latex.php?latex=%7Bn-%28m-1%29%7D%5Cchoose%7Bm%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{n-(m-1)}\\choose{m}' title='{n-(m-1)}\\choose{m}' class='latex' \/> as required.<\/p>\n<p>We will use this to find an intriguing connection to the Fibonacci numbers in <a href=\"https:\/\/blogs.ubc.ca\/organizingchaos\/2017\/11\/15\/mathematical-aside-golden-mean-shift-and-pascals-triangle-part-3\/\">Part 3<\/a>!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As we discussed in Part 1, we noticed a common pattern in the the element in the diagonal, ,\u00a0 of Pascal&#8217;s Triangle and the function , denoting the set of binary strings of length with exactly non-adjacent ones. Today we derive an explicit formula for in two ways. Firstly, some more notation. The element in [&hellip;]<\/p>\n","protected":false},"author":28516,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13426,1],"tags":[],"class_list":["post-280","post","type-post","status-publish","format-standard","hentry","category-asides","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.ubc.ca\/organizingchaos\/wp-json\/wp\/v2\/posts\/280","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.ubc.ca\/organizingchaos\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.ubc.ca\/organizingchaos\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.ubc.ca\/organizingchaos\/wp-json\/wp\/v2\/users\/28516"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.ubc.ca\/organizingchaos\/wp-json\/wp\/v2\/comments?post=280"}],"version-history":[{"count":13,"href":"https:\/\/blogs.ubc.ca\/organizingchaos\/wp-json\/wp\/v2\/posts\/280\/revisions"}],"predecessor-version":[{"id":314,"href":"https:\/\/blogs.ubc.ca\/organizingchaos\/wp-json\/wp\/v2\/posts\/280\/revisions\/314"}],"wp:attachment":[{"href":"https:\/\/blogs.ubc.ca\/organizingchaos\/wp-json\/wp\/v2\/media?parent=280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.ubc.ca\/organizingchaos\/wp-json\/wp\/v2\/categories?post=280"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.ubc.ca\/organizingchaos\/wp-json\/wp\/v2\/tags?post=280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}