이 파일은 위키미디어 공용에 있으며, 다른 프로젝트에서 사용하고 있을 가능성이 있습니다.
해당 파일에 대한 설명이 아래에 나와 있습니다.
파일 설명
설명Collatz-graph-50-no27.svg
English: 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 this Python program:
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')
이 작품은 저작자인 영어 위키백과의 Keenan Pepper에 의해 퍼블릭 도메인으로 공개된 작품입니다. 이 공개 선언은 전 세계적으로 유효합니다. 만약 저작권의 포기가 법률적으로 가능하지 않은 경우, Keenan Pepper은 이 작품을 법적으로 허용되는 한도 내에서 누구나 자유롭게 어떤 목적으로도 제한 없이 사용할 수 있도록 허용합니다.Public domainPublic domainfalsefalse
기존 올리기 기록
The original description page was here. All following user names refer to en.wikipedia.
2007-06-10 20:25 Keenan Pepper 393×1045× (12301 bytes) 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 [[:en:Collatz conjecture|Collatz map]]. Created with [[:en:Graphviz|Graphviz]], with the help of