Jump to content

File:Collatz conjecture tree visualization.png

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file (2,400 × 1,350 pixels, file size: 1.73 MB, MIME type: image/png)

Summary

Description
English: The Python code is available at https://github.com/dkobak/collatz-viz. The figure shows Collatz conjecture paths for 5000 random starting points below 1 million. To visualize the resulting tree, starting from the tree root, the path turns left by 8.65° to even nodes and right by 16° to odd nodes. The length of each edge scales as 1 over the logarithm of its node further from the root. The color and the thickness depend linearly on the log1p of how often the edge was traversed.
Date
Source Own work
Author Dkobak

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Captions

Visualization of Collatz conjecture tree

Items portrayed in this file

depicts

16 March 2025

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current09:04, 19 March 2025Thumbnail for version as of 09:04, 19 March 20252,400 × 1,350 (1.73 MB)DkobakUploaded own work with UploadWizard

The following page uses this file:

Global file usage

The following other wikis use this file:

Metadata