ELI5: Explain Like I'm 5

Collatz fractal

Okay, so imagine you have a really big number. Let's call it "n". Now, we're going to do some math with this number.

First, if the number is even, we'll divide it by 2. So if "n" is 10, we'd divide it by 2 and get 5.

But if "n" is odd, we're going to multiply it by 3 and add 1. So if "n" is 5, we'd do 5 x 3 + 1 to get 16.

Now, we keep doing this over and over again with each new number we get. We either divide by 2 if it's even or multiply by 3 and add 1 if it's odd.

Eventually, we'll get down to the number 1. And once we're at 1, we stop.

Now, here's where things get interesting. If we map out all the new numbers we get, and connect them in a certain way, we get a really cool shape called the Collatz fractal.

Think of it like connecting the dots on a piece of paper to make a picture. But instead of dots, we're connecting the numbers we get from doing the math. And instead of a picture, we get this intricate shape that looks like it goes on forever and ever.

So that's what a Collatz fractal is. It's a really neat pattern that we get from doing some math on a big number and mapping out all the new numbers we get along the way.