Tag Archives: visualization

The chocolate bar game: variants

Remember the chocolate bar game? Today I want to talk about some variants. Recall that the losing positions for the chocolate bar game can be visualized like this: What if we specify that you win if you end with a … Continue reading

Posted in games, pattern, pictures | Tagged , , , , , | Comments Off on The chocolate bar game: variants

The chocolate bar game: losing positions characterized

The evident pattern from my last post is that losing positions in the chocolate bar game appear to be characterized by those where the binary expansion of is the same as the binary expansion of with any number (including zero) … Continue reading

Posted in challenges, games, pattern, pictures | Tagged , , , , , , , , | 1 Comment

The chocolate bar game: losing positions in binary

Recall the chocolate bar game from my last post, whose winning and losing positions can be visualized like this: Here’s a list of some losing positions on or above the main diagonal (dark blue squares in the above picture), ordered … Continue reading

Posted in challenges, games, pattern, pictures | Tagged , , , , , , , , | 1 Comment

The chocolate bar game

Suppose there is an rectangle. I like to think of it as one of those bars of chocolate made up of squares: Two players take turns. On a player’s turn, she must break the chocolate bar along any one of … Continue reading

Posted in games, pattern, pictures | Tagged , , , , , | 6 Comments

Animated Sieve of Eratosthenes

Here’s something I made yesterday! (Note, I strongly suggest watching it fullscreen, in HD if you have the bandwidth for it.) Can you figure out what’s going on? The source code for the animation is here; I was inspired by … Continue reading

Posted in arithmetic, counting, pattern, pictures, primes, video | Tagged , , , , | 12 Comments

Stars of the Mind’s Sky with Diagrams

A few weeks ago, Paul Salomon posted a really beautiful work of mathematical art on his blog, Lost In Recursion: Stars of the Mind’s Sky, by Paul Salomon He included a precise mathematical description of the image, and I naturally … Continue reading

Posted in geometry, group theory, pictures, programming | Tagged , , , , , | 9 Comments

Visualizing Pascal’s triangle remainders

In a comment on my previous post, Juan Valera mentioned something about visualizing multiples of prime numbers in Pascal’s Triangle: In college, there was a poster with different Pascal Triangles, each of them highlighting the multiples of different prime numbers. … Continue reading

Posted in fractals, modular arithmetic, pascal's triangle, pattern, pictures | Tagged , , | 15 Comments

Visualizing nim-like games

Inspired by the comments on this post, I’ve had some ideas brewing for a while—I’m just only now getting around to writing them up. The topic is visualizing winning strategies for "nim-like" games. What do I mean by that? By … Continue reading

Posted in games, pattern, pictures | Tagged , , , | 4 Comments