Two James Tanton Questions

It’s midterm week at school, and James Tanton threw out two interesting questions in two days. I spent a little time programming “solutions” to these problems (not solutions, just verifications for an infinitesimally small portion of the natural numbers). Problem One: Start with a prime, square it, and add 4. Repeat. (eg 3->13->173->…) Must eventually […]

Prime Matrix – Processing

Saw this tweet yesterday: All prime numbers between 2 and 2073600 mapped as pixels ARE THE MATRIX http://t.co/5skoRMc0gh — Kyle Hill (@Sci_Phile) January 14, 2014 Pretty cool. Josh Giesbrecht also did some great work with Mathematica to replicate the image. Thought that primes-looking-like-the-Matrix image might have been fake. Apparently not! (#Mathematica code included.) pic.twitter.com/LXFoTTNuyC — […]

Pebbling a Checkerboard Game (Or Chessboard)

I happened upon this tweet when I got to work this morning: https://twitter.com/MatthewJCaicco/status/413831191284834304 So I watched the fantastic numberphile video Pebbling a Chessboard. I wanted to get the kids to play the game and I didn’t have any checkers in the classroom, so I decided to program the game in Processing. Thankfully the programming went smoothly, […]

Fractal Brownian Tree

@fawnpnguyen whoa. Need to try and make this. — Dan Anderson (@dandersod) June 4, 2013 I started off and used VPython to create the fractal, but it was slow and buggy. Here’s a movie of my first attempt. When you click you create a new “seed” for the fractal to start.  So I rewrote it […]