Keywords: Collatz-graph-50-no27.svg Collatz map For a larger graph see Image Collatz-graph-300 svg Created with Graphviz with the help of this Python program <pre> dotfile file 'collatz-graph dot' 'w' limit 50 def f n while n 2 0 divide by 2 until it's odd n / 2 n 3 n + 1 while n 2 0 n / 2 return n explored set 1 27 31 41 47 dotfile write 'digraph \n' for n in range 3 limit 2 odd numbers while n not in explored dotfile write str n + ' -> ' explored add n n f n dotfile write str n + ';\n' dotfile write ' \n' </pre> en wikipedia Derlay CommonsHelper 2007-06-10 Keenan Pepper wikipedia en Keenan Pepper original upload log page en wikipedia Collatz-graph-50-no27 svg 2007-06-10 20 25 Keenan Pepper 393×1045× 12301 bytes <nowiki>Directed graph showing the orbits of the odd numbers less than 50 with the exceptions of 27 31 41 and 47 because they would make it too tall under the Collatz map Created with Graphviz with the help of </nowiki> Collatz conjecture |