Miscellaneous REU code

I thought I'd collect the miscellaneous code snippets that I've helped people with in the REU.  These are listed in the order they came to me so it's a bit of a hodgepodge.  Hopefully, it's useful as well.

MJ's caterpillars

Matt's CA

April's recurrence

Nathan's independence polynomials

Spikey Created with Wolfram Mathematica 7.0