MAKE A MEME View Large Image Collatz-graph-all-30-no27-loop.svg Directed graph showing the orbits of the numbers less than 30 with the exception of 27 because it would make it too tall under the Collatz map For a larger graph containing only odd numbers see Image ...
View Original:Collatz-graph-all-30-no27-loop.svg (208x1556)
Download: Original    Medium    Small Thumb
Courtesy of:commons.wikimedia.org More Like This
Keywords: Collatz-graph-all-30-no27-loop.svg Directed graph showing the orbits of the numbers less than 30 with the exception of 27 because it would make it too tall under the Collatz map For a larger graph containing only odd numbers see Image Collatz-graph-300 svg Created with Graphviz with the help of this Python program dotfile file 'collatz-graph dot' 'w' limit 30 def f n if n 2 0 return n / 2 else return 3 n + 1 explored set 1 27 dotfile write 'digraph \n' for n in range 2 limit while n not in explored dotfile write str n + ' -> ' explored add n n f n dotfile write str n + ';\n' dotfile write ' \n' Collatz conjecture
Terms of Use   Search of the Day