File:CollatzConjectureGraphMaxValues.jpg

來自Wikimedia Commons
跳去導覽 跳去搵嘢

原本檔案(437 × 818 像素,檔案大細:66 KB ,MIME類型:image/jpeg

Captions

Captions

Add a one-line explanation of what this file represents

摘要[編輯]

描述
English: The horizontal axis is a starting value n. The vertical axis represents the max value reached, following the collatz conjecture rule (n%2==0)?n/2:n*3+1, in the "chain" to one. Created using the following Mathematica code
Clear[maxList, nMax, n, nLooper]

n = 1;

maxList = {};




goTo = 10000;
While[n <= goTo,
 
 nLooper = n;
 nMax = n;
 While[nLooper > 1,
  If[nLooper > nMax, nMax = nLooper]
   
   If[Mod[nLooper, 2] == 0,
    nLooper = nLooper / 2,
    nLooper = nLooper * 3 + 1
    ]
  
  
  ];
 
 maxList = Join[maxList, {nMax}];
 n++;

 ]
ListPlot[maxList, AspectRatio -> 2] 
(end of listing)
日期
來源 Personal Work, Created using Wolfram Mathematica software version 7.0.1.0
作者 Ryan McNamara

協議[編輯]

I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head 根據自由軟體基金會發佈嘅無固定段落、封面文字同封底文字GNU自由文件授權條款第1.2或打後嘅版本,你獲授權可以重製、散佈同埋修改爾份文件。授權條款嘅副本喺章節GNU自由文件授權條款
w:en:Creative Commons
署名 相同方式分享
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International, 3.0 Unported, 2.5 Generic, 2.0 Generic and 1.0 Generic license.
你可以:
  • 去分享 – 複製、發佈同傳播呢個作品
  • 再改 – 創作演繹作品
要遵照下面嘅條件:
  • 署名 – 你一定要畀合適嘅表彰、畀返指向呢個授權條款嘅連結,同埋寫明有無改過嚟。你可以用任何合理方式去做,但唔可以用任何方式暗示授權人認可咗你或者你嘅使用方式。
  • 相同方式分享 – 如果你用任何方式改過呢個作品,你必須要用返原本或者相似嘅條款發佈。
你可以揀你想用嘅牌照。

檔案歷史

撳個日期/時間去睇響嗰個時間出現過嘅檔案。

日期/時間縮圖尺寸用戶註解
現時2011年8月7號 (日) 22:09響2011年8月7號 (日) 22:09嘅縮圖版本437 × 818(66 KB)Ryanmcnamara10132傾偈 | 貢獻{{Information |Description ={{en|1=The horizontal axis is a starting value n. The vertical axis represents the max value reached, following the collatz conjecture rule (n%2==0)?n/2:n*3+1, in the "chain" to one. Created using the following Mathematica c

無頁面用到呢個檔案。

全域檔案使用情況

下面嘅維基都用緊呢個檔案:

Metadata