Art Prompts: Hailstone Arabesques

Arcs drawn and filled over a circle with under and over changes that makes a bumpy shape that is filled in with peach and teal on the outside.

This is the first in a series of prompts for art intertwined with math. Jump in and choose your medium to indulge in creative expression.

Warm-up

Grab a sheet of paper and a ruler. Make a line with 16 marks evenly spaced from the top to the bottom of the page.

a purple vertical line with 16 marks along it

Next, let's define two rules to build a sequence together.

  • If a number is even, divide by 2
  • If a number is odd, multiply by 3 and add 1

Let's start with 6.

It is even, so 6 divided by 2 is 3. Connect the 6th mark to the 3rd mark with a curve on your line:

a vertical line with ticks and an arc connecting the 6th to the third tick. an equation of 6/3 = 2 is shown.

Now we have 3, which is odd. Going back to our rules, we need to multiply by 3 and add 1. That results in 10. Go ahead and connect the 3 to the 10:

the vertical line now has 6 to 3 connected with an arc on the right and 3 to 10 connected with an equation to the left of 3x3+1 = 10.

Repeat this process using even/odd rules until you get a 1. Draw a connection each time.

sequence: {6, 3, 10, 5, 16, 8, 4, 2, 1}

Here is one example (you can decide how you connect yours).

The sequence of numbers at the bottom in orange, and then a back and forth curve that connects to each tick from the sequence making S and spiral-like curves.

Hailstone Numbers

Hailstones form by rising and falling through the sky. With the ups and downs, the water accumulates and forms these little balls of ice.

The pattern of numbers we used above did just that. They decrease (go down) or increase (go up) over and over again:

sequence with up and down arrows showing the increase or decrease.

Activity

Now, apply the same rules to a number other than 6 and build a new sequence. Some numbers might make a large sequence – play around to find one you like. Maybe start with one of the following: 3, 5, 12, 20, or 32.

Remember the rules:

  • Even: n/2
  • Odd: 3n + 1.

Create a doodle or sketch of the hailstone path.

  • Play with how you draw the connections between the values (you could try triangles, arcs, circles, dashes)
  • Play with the shape of the number line - maybe curve the line.
  • Play with which side of the number line you draw the connection
  • Play with connecting the starting and stopping points as a closed shape
  • Color, shade, or paint your creations

Do this for a handful of numbers to build a small collection. Here is an example of the path for 3 drawn 3 different ways where 3 gives {3,10,5,16,8,4,2,1}.

the sequence drawn as painted paths and alternate shading where the one on the left alternates back and forth with curves across the numberline, the middle puts evens on the right and odd connections to the left, and the right makes decreases on the right with straight triangles and curves on the left for increases. These are on small trading cards in light blue and white paper.

The possibilities are endless! You can get silly and make a hailstone creature:

a path that looks like a flamingo with the beak and legs drawn in

Collage, watercolor, music, quilting, and so many other mediums are ways to explore. I called the post arabesques because if you use a compass, you might find such designs.

A diagonal pattern wallpaper with arabesques formed from these numbers in tan and navy blue.

Diving Deeper:

As you create, you may find yourself noticing patterns and asking questions. Here are some examples of questions or ways to dive deeper:

  • What happens after 1 if you keep going with these rules?
  • Do all numbers act like hailstones and go up and down?
  • Do all numbers reach 1?
  • How many steps do numbers take to get to 1? Is there a pattern or underlying structure to that?
  • What happens if you change the rule to 5n+1? Or 3nāˆ’1?
  • Run the rule backwards from 1. What kind of tree grows?
  • Do some of the shapes the sequences make have similarities?
  • If you were to collect them into groups, which ones would go together?
10, 5, 16, 8, 4, 2 numbers in a 3x2 grid in pink with a grey background with similar, yet different shapes.

Paper and paint are wonderful, but sometimes we want to look at dozens, hundreds, or even thousands of numbers so we can better understand patterns or seek answers. Here is a tool to look through and play with these numbers to make more art:

Inquiries
Interactive math exploration tools

Other resources:

Note: much in math has many names. I chose to use Hailstone Numbers in this post because it describes the behavior of the numbers. When beautiful math is named after people, those people can let us down and might not be the original source. When possible, I look for names that describe the math; in this case, I hope that "hailstone" sticks, but if you need to do research, the name "Collatz" is helpful.

Want to become a better programmer? Join the Recurse Center!

Sophia

Mathematics educator and creative coder exploring the beauty of mathematical concepts through interactive visualizations and playful learning.

Mathematics

Education

Creative Coding