<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6363142775800800277</id><updated>2026-06-27T17:00:09.073-07:00</updated><category term="Prime"/><category term="Pascal&#39;s Triangle"/><category term="Continued Fractions"/><category term="Functions"/><category term="Constants"/><category term="Balanced Ternary"/><category term="OEIS"/><category term="Quantum"/><category term="Tricks"/><title type='text'>Math Research, Tips and Tricks</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://malsmath.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://malsmath.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Malachi de AElfweald</name><uri>http://www.blogger.com/profile/09298673505665552268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>34</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6363142775800800277.post-3274301958767389952</id><published>2015-06-10T16:12:00.001-07:00</published><updated>2015-06-10T16:12:54.877-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Continued Fractions"/><title type='text'>Demystifying π (pt2)</title><summary type="text">A couple years ago, I wrote a post entitled Demystifying pi.&amp;nbsp; Since that time, Google Code decided to shut down hosting, so I decided to take a fresh look at it.
Here&#39;s a presentation and the new minimal code.</summary><link rel='replies' type='application/atom+xml' href='http://malsmath.blogspot.com/feeds/3274301958767389952/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6363142775800800277/3274301958767389952' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/3274301958767389952'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/3274301958767389952'/><link rel='alternate' type='text/html' href='http://malsmath.blogspot.com/2015/06/demystifying-pt2.html' title='Demystifying π (pt2)'/><author><name>Malachi de AElfweald</name><uri>http://www.blogger.com/profile/09298673505665552268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6363142775800800277.post-790005439856480804</id><published>2013-10-15T15:37:00.000-07:00</published><updated>2013-12-30T07:26:28.870-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Constants"/><category scheme="http://www.blogger.com/atom/ns#" term="Continued Fractions"/><title type='text'>Demystifying pi</title><summary type="text">One of my pet peeves is that we routinely teach kids that things are impossible, unknowable, too complicated, et cetera.&amp;nbsp; Another is when our equations are dirtied with exceptions to rules...

One example of this was my implementation of pi.&amp;nbsp; That in turn was based on a modification of the continued fraction library to be a bit cleaner in the implementation.

It bugged me that my </summary><link rel='replies' type='application/atom+xml' href='http://malsmath.blogspot.com/feeds/790005439856480804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6363142775800800277/790005439856480804' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/790005439856480804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/790005439856480804'/><link rel='alternate' type='text/html' href='http://malsmath.blogspot.com/2013/10/demystifying-pi.html' title='Demystifying pi'/><author><name>Malachi de AElfweald</name><uri>http://www.blogger.com/profile/09298673505665552268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuHfa_rLXl9oWjsVyvd2KzSeWIZfUWWLCYm37F9yvKdJ31omYZe-l0CXvTKf0Nn8IeeB-OZhdID3gy0Kvsi_9kbixhSt5hmmdyZzWxjspSlKqlVidZhOH2yNaRh8RsUSPnsYejWbUjaew/s72-c/pi_d.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6363142775800800277.post-8878640504674021129</id><published>2013-04-09T06:30:00.000-07:00</published><updated>2013-04-09T06:30:27.082-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Balanced Ternary"/><category scheme="http://www.blogger.com/atom/ns#" term="OEIS"/><category scheme="http://www.blogger.com/atom/ns#" term="Prime"/><title type='text'>A224502: Prime numbers (together with one) whose representation in balanced ternary are palindromes. </title><summary type="text">Quite often when I am doing prime number research and/or looking for patterns, I check the various number sequences against OEIS to see what other algorithms would come up with the same sequence. Usually, every sequence I look for is in there.&amp;nbsp; For example:

A005408 - Odd Numbers
A000010 - Totients
A007318 - Pascal&#39;s Triange

And, now that I have published my first sequence to OEIS:
A224502 </summary><link rel='replies' type='application/atom+xml' href='http://malsmath.blogspot.com/feeds/8878640504674021129/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6363142775800800277/8878640504674021129' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/8878640504674021129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/8878640504674021129'/><link rel='alternate' type='text/html' href='http://malsmath.blogspot.com/2013/04/a224502-prime-numbers-together-with-one.html' title='A224502: Prime numbers (together with one) whose representation in balanced ternary are palindromes. '/><author><name>Malachi de AElfweald</name><uri>http://www.blogger.com/profile/09298673505665552268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6363142775800800277.post-7095839393405335656</id><published>2011-11-02T10:59:00.000-07:00</published><updated>2011-11-02T10:59:12.548-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Quantum"/><title type='text'>Shor, I’ll do it</title><summary type="text">I ran into this article by Scott Aaronson today and thought I would share it.&amp;nbsp; To wet your taste, here&#39;s the first sentence of the second paragraph:


Alright, so let’s say you want to break the RSA cryptosystem, in order to rob some banks, read your ex’s email, whatever.&amp;nbsp;
Overall, I found it to be a pretty good writeup for the layman.&amp;nbsp; It&#39;s a little esoteric when it comes to </summary><link rel='replies' type='application/atom+xml' href='http://malsmath.blogspot.com/feeds/7095839393405335656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6363142775800800277/7095839393405335656' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/7095839393405335656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/7095839393405335656'/><link rel='alternate' type='text/html' href='http://malsmath.blogspot.com/2011/11/shor-ill-do-it.html' title='Shor, I’ll do it'/><author><name>Malachi de AElfweald</name><uri>http://www.blogger.com/profile/09298673505665552268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6363142775800800277.post-4921432470581415047</id><published>2010-03-13T01:28:00.000-08:00</published><updated>2010-03-13T01:28:13.661-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Continued Fractions"/><title type='text'>Stern–Brocot tree and Continuous Fractions</title><summary type="text">This post continues the previous entries on Continuous Fractions.&amp;nbsp; This time, we expand the concept to encompass the Stern-Brocot tree.

The Stern-Brocot tree is a binary search tree where the two legs represent &quot;less than&quot; and &quot;more than&quot; (or Low,High or Left,Right, etc).

As you can see from the image, it starts with 1 (or 1/1) at the top. The left side is less than 1 and the right side is</summary><link rel='replies' type='application/atom+xml' href='http://malsmath.blogspot.com/feeds/4921432470581415047/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6363142775800800277/4921432470581415047' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/4921432470581415047'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/4921432470581415047'/><link rel='alternate' type='text/html' href='http://malsmath.blogspot.com/2010/03/sternbrocot-tree-and-continuous.html' title='Stern–Brocot tree and Continuous Fractions'/><author><name>Malachi de AElfweald</name><uri>http://www.blogger.com/profile/09298673505665552268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjccF2Gg4QSsL_XWsVW5J-kfmgIR5WW46fp7XGD7_-UwigJ5gE7dEuoVgPCaH2wv8bZx3fM4-zzWmvEdVb1YWhtYuzUi1gCW-S4eXrrJ8CngOcMFBLYz9GXHzxRxqhishyphenhyphenV2EOiaPUN27w/s72-c/1.25.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6363142775800800277.post-3453369188915433529</id><published>2009-06-16T01:51:00.000-07:00</published><updated>2009-06-16T01:52:14.902-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Prime"/><title type='text'>Slashdot: 47th Mersenne Prime Confirmed</title><summary type="text">The new prime, 2^42,643,801 - 1, is actually smaller than the one discovered previously.</summary><link rel='replies' type='application/atom+xml' href='http://malsmath.blogspot.com/feeds/3453369188915433529/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6363142775800800277/3453369188915433529' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/3453369188915433529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/3453369188915433529'/><link rel='alternate' type='text/html' href='http://malsmath.blogspot.com/2009/06/slashdot-47th-mersenne-prime-confirmed.html' title='Slashdot: 47th Mersenne Prime Confirmed'/><author><name>Malachi de AElfweald</name><uri>http://www.blogger.com/profile/09298673505665552268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6363142775800800277.post-3481849962393309880</id><published>2009-05-18T00:18:00.000-07:00</published><updated>2009-05-18T00:26:08.204-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Prime"/><title type='text'>Primality of 1</title><summary type="text">When I was in school, I remember them teaching that a prime number was any number divisible by only 1 and itself.  Thus, in school, they taught that 1 was prime.  Since then, I have noticed that everyone insists that 1 is not prime.  Since many of the patterns I find work better with 1 being prime, I decided to try to figure out why the discrepancy...From Wikipedia:Until the 19th century, most </summary><link rel='replies' type='application/atom+xml' href='http://malsmath.blogspot.com/feeds/3481849962393309880/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6363142775800800277/3481849962393309880' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/3481849962393309880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/3481849962393309880'/><link rel='alternate' type='text/html' href='http://malsmath.blogspot.com/2009/05/primality-of-1.html' title='Primality of 1'/><author><name>Malachi de AElfweald</name><uri>http://www.blogger.com/profile/09298673505665552268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6363142775800800277.post-1959148521413255177</id><published>2009-05-17T23:52:00.000-07:00</published><updated>2009-05-18T00:15:11.147-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Prime"/><title type='text'>Prime digits</title><summary type="text">A coworker made a comment to me Friday about the distribution of digits in prime numbers.  He was referring to a recent Slashdot article talking about the first digit in the prime number...but I have never liked thinking of the 1st digit as the far left... I&#39;d prefer to think of the far right digit as digit 0. Can&#39;t help it - it&#39;s the whole positional notation thing (10^3 10^2 10^1 10^0 . 10^-1 </summary><link rel='replies' type='application/atom+xml' href='http://malsmath.blogspot.com/feeds/1959148521413255177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6363142775800800277/1959148521413255177' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/1959148521413255177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/1959148521413255177'/><link rel='alternate' type='text/html' href='http://malsmath.blogspot.com/2009/05/prime-digits.html' title='Prime digits'/><author><name>Malachi de AElfweald</name><uri>http://www.blogger.com/profile/09298673505665552268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6363142775800800277.post-1573132677750270858</id><published>2009-04-27T22:27:00.000-07:00</published><updated>2009-04-27T22:41:13.631-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Continued Fractions"/><title type='text'>Division by Zero</title><summary type="text">I&#39;ve been on this kick lately where I have started question some of the basic assumptions I learned in math... things like &quot;you can&#39;t easily define pi&quot; or the concept of an &quot;irrational number&quot;. Today&#39;s philosophical debate is on the idea of division by zero.This came up because I was creating a ContinuedFraction interface for integers... The number 3, for instance, is 3 + 0/0 + 0/0 .... etc... </summary><link rel='replies' type='application/atom+xml' href='http://malsmath.blogspot.com/feeds/1573132677750270858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6363142775800800277/1573132677750270858' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/1573132677750270858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/1573132677750270858'/><link rel='alternate' type='text/html' href='http://malsmath.blogspot.com/2009/04/division-by-zero.html' title='Division by Zero'/><author><name>Malachi de AElfweald</name><uri>http://www.blogger.com/profile/09298673505665552268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMaYKTDM4zyWpTX9nXqIthg_AhIGYD0lr26udmQk-sy40rwo6e_W6b5iX6WLywXQEWUozYN2PAmgxakWOxI4Cvuv8JHb4W3tESpp5-BLmFu-UvDQJeznTKpXWeULehDgHY8BIbhQ9jofc/s72-c/product.png" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6363142775800800277.post-6953606771525045253</id><published>2009-04-26T03:32:00.000-07:00</published><updated>2011-08-11T12:34:32.502-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Constants"/><category scheme="http://www.blogger.com/atom/ns#" term="Continued Fractions"/><title type='text'>SeriesCF</title><summary type="text">
While working on my ContinuedFractions library today, it occured to me that our current representation of pi could be simplified by just specifying the numerators and denominators as series...


I went ahead and changed the implementation to use a new SeriesCF class instead of the default ContinuedFraction class and I think the new approach is much cleaner.




</summary><link rel='replies' type='application/atom+xml' href='http://malsmath.blogspot.com/feeds/6953606771525045253/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6363142775800800277/6953606771525045253' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/6953606771525045253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/6953606771525045253'/><link rel='alternate' type='text/html' href='http://malsmath.blogspot.com/2009/04/seriescf.html' title='SeriesCF'/><author><name>Malachi de AElfweald</name><uri>http://www.blogger.com/profile/09298673505665552268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6363142775800800277.post-3968414970428754758</id><published>2009-04-25T14:25:00.000-07:00</published><updated>2009-04-25T14:30:27.812-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Continued Fractions"/><title type='text'>PresenTeX</title><summary type="text">While writing this package today, I came across the PresenTeX website.  Very nice...from cf = d_0 + \cfrac{n_0}{d_1 + \cfrac{n_1}{d_2 + \cfrac{n_2}{d_3 + \cfrac{n_3}{\ddots\,}}}} I got:</summary><link rel='replies' type='application/atom+xml' href='http://malsmath.blogspot.com/feeds/3968414970428754758/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6363142775800800277/3968414970428754758' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/3968414970428754758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/3968414970428754758'/><link rel='alternate' type='text/html' href='http://malsmath.blogspot.com/2009/04/presentex.html' title='PresenTeX'/><author><name>Malachi de AElfweald</name><uri>http://www.blogger.com/profile/09298673505665552268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmqmxLBJv1aqtvgCx65JAyxMqnFAhgB01YXPLEarjDOLFF0IBkGdTufiMtPKVmXGOGeYWKIKhWZ7KKlc9EEYRbjyYJRwBigjYzd8BwzPbW8lPUfeDVmPSJhNPHxIdB9roKoa-5SvIl56k/s72-c/cf.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6363142775800800277.post-5224728082098815722</id><published>2009-02-10T12:03:00.001-08:00</published><updated>2009-02-10T12:47:47.045-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Continued Fractions"/><category scheme="http://www.blogger.com/atom/ns#" term="Functions"/><title type='text'>Continued Fractions</title><summary type="text">I was working on some continued fractions, and came across the fundamental recurrence formula above.  It worked pretty well for some simple continued fractions (like √2) but seemed to be a bit unfriendly towards calculating π.I&#39;m using this definition of π:Now, using that definition with the above equation, it was always completely wrong...So I tried changing the equation...So you&#39;ll notice a few</summary><link rel='replies' type='application/atom+xml' href='http://malsmath.blogspot.com/feeds/5224728082098815722/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6363142775800800277/5224728082098815722' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/5224728082098815722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/5224728082098815722'/><link rel='alternate' type='text/html' href='http://malsmath.blogspot.com/2009/02/continued-fractions.html' title='Continued Fractions'/><author><name>Malachi de AElfweald</name><uri>http://www.blogger.com/profile/09298673505665552268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW3meOpF8t5dYSUttc7OXUf5g1vxGuHiPvFmhFYy49rV2tZLhbvgSVWOCOCrTVDuLbRv48x0HLQzNg_DVrcJgbqrckCTlpKmseSAvU1sTTMEtWbs5ylFZszFYu-pLSbnNg8cIk9Srm7qU/s72-c/frf2.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6363142775800800277.post-4014614196433948687</id><published>2007-07-27T11:51:00.000-07:00</published><updated>2007-07-27T12:03:31.992-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Prime"/><title type='text'>Intuitive Approach to Wilson&#39;s Theorem</title><summary type="text">The other day I stumbled across something, only later to realize that it was Wilson&#39;s Theorem.   Since the approach used to find it in the first place was more of a &#39;common-sense&#39; approach than what you usually encounter for it, I thought I would go ahead and present it.Let&#39;s look at two examples.... For both, what we are looking for is:(n-1)! % n ≡ (n-1) mod n; iff n is primeExample 1: Composite</summary><link rel='replies' type='application/atom+xml' href='http://malsmath.blogspot.com/feeds/4014614196433948687/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6363142775800800277/4014614196433948687' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/4014614196433948687'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/4014614196433948687'/><link rel='alternate' type='text/html' href='http://malsmath.blogspot.com/2007/07/intuitive-approach-to-wilsons-theorem.html' title='Intuitive Approach to Wilson&#39;s Theorem'/><author><name>Malachi de AElfweald</name><uri>http://www.blogger.com/profile/09298673505665552268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6363142775800800277.post-6217462723141076858</id><published>2007-07-20T10:03:00.001-07:00</published><updated>2007-07-20T10:03:43.104-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Constants"/><title type='text'>An Intuitive Guide To Exponential Functions &amp; E</title><summary type="text">Fairly simple explanation of what &#39;e&#39; is and how it works.</summary><link rel='replies' type='application/atom+xml' href='http://malsmath.blogspot.com/feeds/6217462723141076858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6363142775800800277/6217462723141076858' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/6217462723141076858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/6217462723141076858'/><link rel='alternate' type='text/html' href='http://malsmath.blogspot.com/2007/07/intuitive-guide-to-exponential.html' title='An Intuitive Guide To Exponential Functions &amp; E'/><author><name>Malachi de AElfweald</name><uri>http://www.blogger.com/profile/09298673505665552268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6363142775800800277.post-1034267148889344430</id><published>2007-07-15T20:34:00.000-07:00</published><updated>2007-07-15T20:35:57.648-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Tricks"/><title type='text'>Wikipedia: Mental Arithmetic</title><summary type="text">I stumbled upon this today, and thought I would share. Some interesting stuff in there.We really should start teaching kids mental arithmetic at an early age rather than the &quot;show your work or get an F&quot;</summary><link rel='replies' type='application/atom+xml' href='http://malsmath.blogspot.com/feeds/1034267148889344430/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6363142775800800277/1034267148889344430' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/1034267148889344430'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/1034267148889344430'/><link rel='alternate' type='text/html' href='http://malsmath.blogspot.com/2007/07/wikipedia-mental-arithmetic.html' title='Wikipedia: Mental Arithmetic'/><author><name>Malachi de AElfweald</name><uri>http://www.blogger.com/profile/09298673505665552268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6363142775800800277.post-6726800615803661875</id><published>2007-05-06T10:23:00.000-07:00</published><updated>2012-01-12T23:09:48.765-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Prime"/><title type='text'>Coprime, aka. Relatively Prime</title><summary type="text">Two numbers are coprime (relatively prime) if they have no factors in common.
I thought this image from Wikipedia was a good visual way of seeing it:

Figure 1. The numbers 4 and 9 are coprime because the diagonal does not intersect any other lattice points</summary><link rel='replies' type='application/atom+xml' href='http://malsmath.blogspot.com/feeds/6726800615803661875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6363142775800800277/6726800615803661875' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/6726800615803661875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/6726800615803661875'/><link rel='alternate' type='text/html' href='http://malsmath.blogspot.com/2007/05/coprime-aka-relatively-prime.html' title='Coprime, aka. Relatively Prime'/><author><name>Malachi de AElfweald</name><uri>http://www.blogger.com/profile/09298673505665552268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6363142775800800277.post-6119391309423951728</id><published>2007-04-13T08:57:00.000-07:00</published><updated>2007-04-13T08:59:49.715-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Functions"/><title type='text'>Subfactorial</title><summary type="text">I thought this was a good way of explaining it:In practical terms, subfactorial is the number of ways of putting n letters into n envelopes (one in each envelope) with none in its correct envelope.</summary><link rel='replies' type='application/atom+xml' href='http://malsmath.blogspot.com/feeds/6119391309423951728/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6363142775800800277/6119391309423951728' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/6119391309423951728'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/6119391309423951728'/><link rel='alternate' type='text/html' href='http://malsmath.blogspot.com/2007/04/subfactorial.html' title='Subfactorial'/><author><name>Malachi de AElfweald</name><uri>http://www.blogger.com/profile/09298673505665552268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6363142775800800277.post-6083677905546362139</id><published>2007-04-05T17:13:00.000-07:00</published><updated>2007-04-05T17:15:32.554-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Constants"/><title type='text'>Pi</title><summary type="text">This is probably the simplest explanation of Pi that I have ever seen:</summary><link rel='replies' type='application/atom+xml' href='http://malsmath.blogspot.com/feeds/6083677905546362139/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6363142775800800277/6083677905546362139' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/6083677905546362139'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/6083677905546362139'/><link rel='alternate' type='text/html' href='http://malsmath.blogspot.com/2007/04/pi.html' title='Pi'/><author><name>Malachi de AElfweald</name><uri>http://www.blogger.com/profile/09298673505665552268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6363142775800800277.post-4882102115466580062</id><published>2007-03-01T14:10:00.001-08:00</published><updated>2007-03-01T14:10:27.214-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Functions"/><title type='text'>Mock Theta Functions</title><summary type="text"></summary><link rel='replies' type='application/atom+xml' href='http://malsmath.blogspot.com/feeds/4882102115466580062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6363142775800800277/4882102115466580062' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/4882102115466580062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/4882102115466580062'/><link rel='alternate' type='text/html' href='http://malsmath.blogspot.com/2007/03/mock-theta-functions.html' title='Mock Theta Functions'/><author><name>Malachi de AElfweald</name><uri>http://www.blogger.com/profile/09298673505665552268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6363142775800800277.post-8100140221458754654</id><published>2007-02-26T15:02:00.000-08:00</published><updated>2007-02-26T15:03:29.716-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Functions"/><title type='text'>Sum of Series</title><summary type="text">sum of odd integers &amp;lt; 2n = n2sum of all integers = n(n+1)/2</summary><link rel='replies' type='application/atom+xml' href='http://malsmath.blogspot.com/feeds/8100140221458754654/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6363142775800800277/8100140221458754654' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/8100140221458754654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/8100140221458754654'/><link rel='alternate' type='text/html' href='http://malsmath.blogspot.com/2007/02/sum-of-series.html' title='Sum of Series'/><author><name>Malachi de AElfweald</name><uri>http://www.blogger.com/profile/09298673505665552268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6363142775800800277.post-7947409402557712477</id><published>2007-02-16T12:19:00.000-08:00</published><updated>2007-02-16T12:20:58.479-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Pascal&#39;s Triangle"/><title type='text'>Pascals&#39; Cototients</title><summary type="text">Similar to yesterdays&#39; post, this one is based off the totients of the values in Pascal&#39;s triangle.. but this time, we are displaying the Cototients (n - totient(n))...</summary><link rel='replies' type='application/atom+xml' href='http://malsmath.blogspot.com/feeds/7947409402557712477/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6363142775800800277/7947409402557712477' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/7947409402557712477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/7947409402557712477'/><link rel='alternate' type='text/html' href='http://malsmath.blogspot.com/2007/02/pascals-cototients.html' title='Pascals&#39; Cototients'/><author><name>Malachi de AElfweald</name><uri>http://www.blogger.com/profile/09298673505665552268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWBXS1Ol9KDnVjY4NmC5QnvdIxdpwMq4pUANLjUZAO7wQ4N12S1VzkzbG-Ma3TzR5jJL2wjNhmJAqifF2jZNoldsB8zE9V6tJ9tS_a6AhSLw0qIKNndNs9bXZXvJp9dfeYUeE_fobZkxE/s72-c/PascalCototients.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6363142775800800277.post-9189449108686241165</id><published>2007-02-15T15:33:00.000-08:00</published><updated>2007-02-15T15:35:21.883-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Pascal&#39;s Triangle"/><title type='text'>Pascal&#39;s Totients</title><summary type="text">I was trying to figure out new ways to look at Pascals&#39; Triangle today, and decided to look not at the actual binomial coefficients, but at the Euler Totients of them. Take a gander.</summary><link rel='replies' type='application/atom+xml' href='http://malsmath.blogspot.com/feeds/9189449108686241165/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6363142775800800277/9189449108686241165' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/9189449108686241165'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/9189449108686241165'/><link rel='alternate' type='text/html' href='http://malsmath.blogspot.com/2007/02/pascals-totients.html' title='Pascal&#39;s Totients'/><author><name>Malachi de AElfweald</name><uri>http://www.blogger.com/profile/09298673505665552268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQnXnsY3G-u7b0i0wYuw2pN3CMbF6LNDTPkDPQCtQy2RzfdPP2EjiG2_cUFf0L9heo6jBIu2GhgPfEO7HghLx022ZihAyURprBwp4ky5Mo6vAYxaoKcrnZJSiwAON6pee7kuRe47BqajA/s72-c/PascalTotients.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6363142775800800277.post-2078944299640012618</id><published>2007-02-12T07:39:00.000-08:00</published><updated>2007-02-12T07:41:04.816-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Pascal&#39;s Triangle"/><title type='text'>Pascal and Binomial Coefficients</title><summary type="text">I realized that I never really showed how Pascal&#39;s Triangle is related to the Binomial Coefficients...  So here we go:(x+1)0 = 1(x+1)1 =1x + 1 =1 1(x+1)2 =(x+1)(x+1) = x*x + x*1 + 1*x + 1*1 = 1x2 + 2x + 1 = 1 2 1(x+1)3 =(x+1)(x+1)(x+1) = ((x+1)(x+1))(x+1) = (1x2 + 2x + 1)(x+1) = (1x2*x + 1x2)+(2x*x + 2x*1)+(1*x + 1*1)= 1x3 + 1x2 + 2x2 + 2x + x + 1 = 1x3 + 3x2 + 3x + 1 =1 3 3 1(x+1)4 =(x+1)(x+1)(x</summary><link rel='replies' type='application/atom+xml' href='http://malsmath.blogspot.com/feeds/2078944299640012618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6363142775800800277/2078944299640012618' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/2078944299640012618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/2078944299640012618'/><link rel='alternate' type='text/html' href='http://malsmath.blogspot.com/2007/02/pascal-and-binomial-coefficients.html' title='Pascal and Binomial Coefficients'/><author><name>Malachi de AElfweald</name><uri>http://www.blogger.com/profile/09298673505665552268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6363142775800800277.post-1989647401086524057</id><published>2007-02-07T12:02:00.000-08:00</published><updated>2007-02-07T12:05:42.382-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Pascal&#39;s Triangle"/><title type='text'>A Modded Pacal Triangle</title><summary type="text">As you generate very large Pascal Triangles, the numbers quickly get out of control. If you are planning on modding the values after obtaining them, why not mod them first?Here you see an example of doing a mod5 before writing the number down... So, for example, the middle element on Row#4 is 1 because (3+3)%5 = 6%5 = 1... Now, you can use the number 1 for further rows instead of the original </summary><link rel='replies' type='application/atom+xml' href='http://malsmath.blogspot.com/feeds/1989647401086524057/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6363142775800800277/1989647401086524057' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/1989647401086524057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/1989647401086524057'/><link rel='alternate' type='text/html' href='http://malsmath.blogspot.com/2007/02/modded-pacal-triangle.html' title='A Modded Pacal Triangle'/><author><name>Malachi de AElfweald</name><uri>http://www.blogger.com/profile/09298673505665552268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLfirIHz4dGj2PpTXTyjhgnw-FfNHNbtTVvL1FhQrOssPWpJLZfByK1prAaNyIZo4ezUPW0XRxeg4SaAiuQtmuto3mcZGCc8YgqecO9JezFRX18k-ARdbFjouFCrfRQJxip_rXUQFSzVg/s72-c/mod5.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6363142775800800277.post-4752272865383374134</id><published>2007-02-06T15:51:00.000-08:00</published><updated>2007-02-06T16:14:54.689-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Pascal&#39;s Triangle"/><title type='text'>Binary Representation of Pascal&#39;s Triangle</title><summary type="text">To look like this, one thing you might do is work out all the values of the previous lines and then mod them to determine whether they should be highlighted or not.Yet another way might be to just keep track of whether the values above are 1 or 0, and realize that the next one down is only 0 if both the parent hexes are 1.But, how about a way to do it without any regard to previous rows? This </summary><link rel='replies' type='application/atom+xml' href='http://malsmath.blogspot.com/feeds/4752272865383374134/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6363142775800800277/4752272865383374134' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/4752272865383374134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6363142775800800277/posts/default/4752272865383374134'/><link rel='alternate' type='text/html' href='http://malsmath.blogspot.com/2007/02/binary-representation-of-pascals.html' title='Binary Representation of Pascal&#39;s Triangle'/><author><name>Malachi de AElfweald</name><uri>http://www.blogger.com/profile/09298673505665552268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>