File:EulerPhi.svg

頁面內容不支援其他語言。
這個檔案來自維基共享資源
維基百科,自由的百科全書

原始檔案(SVG 檔案,表面大小:731 × 551 像素,檔案大小:232 KB)


摘要

描述
English: Plot of the first 1000 values of the en:Euler's totient function. Svg version of Image:EulerPhi.PNG
Italiano: I primi 1000 valori della it:Funzione φ di Eulero. Versione svg di Image:EulerPhi.PNG.
日期
來源 自己的作品
 
向量圖形使用Matplotlib創作。
作者 Pietro Battiston (it:User:Toobaz)
其他版本 Image:EulerPhi.PNG

Created with the following script, ran in "ipython -pylab":

xlabel('n')
ylabel('$\phi(n)$')
plot([fi(i) for i in range(1,1000)], 'b.')

"fi" is the Euler φ, defined for instance as:

def fattorizza(n):
    c = 0
    f = {}
    for i in xrange( 2, int(sqrt(n))+1 ):
        if not n%i:
            f[i] = 1
            n /= i
        while not n%i:
            f[i] += 1
            vn = n
            n /= i
        if n == 1:
            return f
    f[n] = 1
    return f

def fi(n):
    if n == 1:
        return 1
    fi = 1
    f = fattorizza(n)
    for p in f:
        k = f[p]
        fi *= (p-1)*p**(k-1)
    return fi

授權條款

我,本作品的著作權持有者,決定用以下授權條款發佈本作品:
GNU head 已授權您依據自由軟體基金會發行的無固定段落、封面文字和封底文字GNU自由文件授權條款1.2版或任意後續版本,對本檔進行複製、傳播和/或修改。該協議的副本列在GNU自由文件授權條款中。
w:zh:創用CC
姓名標示 相同方式分享
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.
您可以自由:
  • 分享 – 複製、發佈和傳播本作品
  • 重新修改 – 創作演繹作品
惟需遵照下列條件:
  • 姓名標示 – 您必須指名出正確的製作者,和提供授權條款的連結,以及表示是否有對內容上做出變更。您可以用任何合理的方式來行動,但不得以任何方式表明授權條款是對您許可或是由您所使用。
  • 相同方式分享 – 如果您利用本素材進行再混合、轉換或創作,您必須基於如同原先的相同或兼容的條款,來分布您的貢獻成品。
您可以選擇您需要的授權條款。

說明

添加單行說明來描述出檔案所代表的內容

在此檔案描寫的項目

描繪內容

檔案來源 Chinese (Taiwan) (已轉換拼寫)

image/svg+xml

檔案歷史

點選日期/時間以檢視該時間的檔案版本。

日期/時間縮⁠圖尺寸使用者備⁠註
目前2012年5月17日 (四) 16:07於 2012年5月17日 (四) 16:07 版本的縮圖731 × 551(232 KB)ItzuvitReverted to version as of 09:29, 16 March 2010
2012年5月13日 (日) 12:22於 2012年5月13日 (日) 12:22 版本的縮圖1,200 × 1,200(51 KB)AntonsusiValid code; taking exactly one pixel for one scale unit; easier code.
2010年3月16日 (二) 09:29於 2010年3月16日 (二) 09:29 版本的縮圖731 × 551(232 KB)ToobazFixed the decomposition into primes: (x)range doesn't contain extrema.
2009年5月24日 (日) 14:29於 2009年5月24日 (日) 14:29 版本的縮圖731 × 551(231 KB)Toobaz{{Information |Description={{en|1=Plot of the first 1000 values of the en:Euler's totient function. Svg version of Image:EulerPhi.PNG }} {{it|1=I primi 1000 valori della it:Funzione φ di Eulero. Versione svg di Image:EulerPhi.PNG.}} |

下列頁面有用到此檔案:

全域檔案使用狀況

以下其他 wiki 使用了這個檔案:

詮釋資料