- algorithm Apollonian approximation art bar beauty binary binomial coefficients birthday book book review cards carnival Carnival of Mathematics Cassini chocolate combinatorics complex cookies counting decadic decimal diagrams elements expansion factorization fibonacci formula fractal game games gasket graph groups Haskell hyperbinary idempotent identity integers interactive irrational Ivan Niven Lagrange lehmer lucas MaBloWriMo making Mersenne nim number numbers objects omega order pi prime problem programming proof puzzle rectangles repunit review sequence square squares strategy subgroups tessellation test triangular units video visualization X
### Blogroll

### Fun

### Reference

### Categories

- algebra (43)
- arithmetic (57)
- books (28)
- calculus (6)
- challenges (51)
- combinatorics (8)
- complex numbers (5)
- computation (42)
- convergence (9)
- counting (30)
- famous numbers (48)
- fibonacci (18)
- fractals (12)
- games (24)
- geometry (43)
- golden ratio (8)
- group theory (26)
- humor (6)
- induction (7)
- infinity (17)
- iteration (23)
- links (73)
- logic (6)
- meta (40)
- modular arithmetic (24)
- number theory (67)
- open problems (11)
- paradox (1)
- pascal's triangle (8)
- pattern (76)
- people (20)
- pictures (48)
- posts without words (11)
- primes (32)
- probability (6)
- programming (17)
- proof (60)
- puzzles (11)
- recursion (12)
- review (19)
- sequences (28)
- solutions (28)
- teaching (12)
- trig (3)
- Uncategorized (4)
- video (19)

### Archives

- August 2016 (4)
- July 2016 (2)
- June 2016 (4)
- May 2016 (4)
- April 2016 (2)
- March 2016 (3)
- February 2016 (9)
- January 2016 (8)
- December 2015 (5)
- November 2015 (29)
- August 2015 (3)
- June 2015 (2)
- April 2015 (1)
- May 2014 (1)
- December 2013 (1)
- October 2013 (1)
- July 2013 (1)
- June 2013 (1)
- May 2013 (1)
- April 2013 (3)
- March 2013 (3)
- February 2013 (2)
- January 2013 (5)
- December 2012 (3)
- November 2012 (4)
- October 2012 (5)
- September 2012 (1)
- August 2012 (4)
- July 2012 (1)
- June 2012 (6)
- May 2012 (2)
- April 2012 (3)
- March 2012 (1)
- February 2012 (4)
- January 2012 (5)
- December 2011 (1)
- November 2011 (7)
- October 2011 (4)
- September 2011 (6)
- July 2011 (2)
- June 2011 (4)
- May 2011 (5)
- April 2011 (2)
- March 2011 (4)
- February 2011 (1)
- January 2011 (1)
- December 2010 (1)
- November 2010 (4)
- October 2010 (2)
- September 2010 (1)
- August 2010 (1)
- July 2010 (1)
- June 2010 (2)
- May 2010 (3)
- April 2010 (1)
- February 2010 (6)
- January 2010 (3)
- December 2009 (8)
- November 2009 (7)
- October 2009 (3)
- September 2009 (3)
- August 2009 (1)
- June 2009 (4)
- May 2009 (5)
- April 2009 (4)
- March 2009 (2)
- February 2009 (1)
- January 2009 (7)
- December 2008 (1)
- October 2008 (2)
- September 2008 (7)
- August 2008 (1)
- July 2008 (1)
- June 2008 (1)
- April 2008 (5)
- February 2008 (4)
- January 2008 (4)
- December 2007 (3)
- November 2007 (12)
- October 2007 (2)
- September 2007 (4)
- August 2007 (3)
- July 2007 (1)
- June 2007 (3)
- May 2007 (1)
- April 2007 (4)
- March 2007 (3)
- February 2007 (7)
- January 2007 (1)
- December 2006 (2)
- October 2006 (2)
- September 2006 (6)
- July 2006 (4)
- June 2006 (2)
- May 2006 (6)
- April 2006 (3)
- March 2006 (6)

### Meta

# Category Archives: recursion

## The Recamán sequence

I recently learned about a really interesting sequence of integers, called the Recamán sequence (it’s sequence A005132 in the Online Encyclopedia of Integer Sequences). It is very simple to define, but the resulting complexity shows how powerful self-reference is (for … Continue reading

Posted in arithmetic, recursion, sequences
Tagged difference, integers, Recamán, repeat, sequence
5 Comments

## Apollonian gaskets and Descartes’ Theorem II

In a few previous posts I wrote about “kissing sets” of four mutually tangent circles, and the fact that their signed bends satisfy Descartes’ Theorem, (Remember that the signed bend of a circle is like the curvature , except that … Continue reading

## Apollonian gaskets and Descartes’ Theorem

In my previous post, I explained a recursive procedure for drawing Apollonian gaskets. Given any three mutually tangent circles, there are exactly two other circles which are mutually tangent to all three (forming what we called a “kissing set”). This … Continue reading

## Apollonian gaskets

In my last post I showed off this tantalizing picture: This pattern of infinitely nested circles is called an Apollonian gasket. Over the next post or two I’ll explain some cool math behind actually constructing them. Mostly I will state … Continue reading

Posted in geometry, pattern, pictures, recursion
Tagged Apollonian, gasket, recursion, tree
4 Comments

## More factorization diagrams

My post on factorization diagrams from a month ago turned out to be (unexpectedly) quite popular! I got ten times as many hits as usual the day it was published, and since then quite a few other people have created … Continue reading

Posted in arithmetic, links, pictures, primes, programming, recursion
Tagged diagrams, factorization, Haskell
15 Comments

## Factorization diagrams

In an idle moment a while ago I wrote a program to generate "factorization diagrams". Here’s 700: It’s easy to see (I hope), just by looking at the arrangement of dots, that there are in total. Here’s how I did … Continue reading

Posted in arithmetic, pictures, primes, programming, recursion
Tagged diagrams, factorization, Haskell
72 Comments

## Post without words #3

(This is my 200th post! =)

Posted in counting, pattern, pictures, posts without words, recursion
11 Comments