Title: Fractal in "Collatz iteration" Post by: Khaotik on October 30, 2011, 06:41:13 AM I found some fractal-ish pattern in Collatz-like iterations. I think it may be to do with cellular automaton, but I'm not sure. Collatz Conjecture says that given an integer, if it's even, you divide it by 2, otherwise you multiply it by 3 and plus 1. Repeat the process and you'll eventually get into "4-2-1-4-..." loop. I converted the Collatz iteration rule into the following form: Code: input integer M 1. Begin with a row of integers ( 1, 2, 3 ... n ); 2. Apply the iteration rule to the whole row; 3. Repeat the iteration and record the result of each step; 4. Draw every row with black and white, EVEN NUMs-> White, ODD NUMs -> Black. 5. Replace "3n+2" with other formulas to get various patterns. Here's my Mathematica program to implement the above process. Code: (*---------------CELL BEGIN---------------*) I drew some images and I put them in the RAR attachment. Any idea? |