ملف:EulerPhi.svg

الملف الأصلي(ملف SVG، أبعاده 731 × 551 بكسل، حجم الملف: 232 كيلوبايت)

وصف قصير

⧼wm-license-information-description⧽
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.
⧼wm-license-information-date⧽ 2009
⧼wm-license-information-source⧽ ⧼Wm-license-own-work⧽قالب:Created with Matplotlib
⧼wm-license-information-author⧽ Pietro Battiston (it:User:Toobaz)
⧼wm-license-information-other-versions⧽

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

ترخيص


I, the copyright holder of this work, hereby publish it under the following licenses:
GFDL
يسمح بنسخ و توزيع و/أو تعديل هذا المستند وفق شروط رخصة الوثائق الحرة (جنو) إصدار 1.2 أو أي إصدار أحدث المنشورة من قبل مؤسسة البرمجيات الحرة بدون أقسام ثابته و نصوص الغلاف الأمامي و الخلفي.
قالب:Cc-by-sa-all
[You may select the license of your choice.] Error: {{Lang}}: text has italic markup (help)

تاريخ الملف

اضغط على زمن/تاريخ لرؤية الملف كما بدا في هذا الزمن.

زمن/تاريخصورة مصغرةالأبعادمستخدمتعليق
حالي ★ مراجعة معتمدة
21:12، 25 ديسمبر 2023
تصغير للنسخة بتاريخ 21:12، 25 ديسمبر 2023731 × 551 (232 كيلوبايت)Pastakhov (نقاش | مساهمات)Upload https://upload.wikimedia.org/wikipedia/commons/9/9b/EulerPhi.svg

لا يوجد صفحات تصل لهذه الصورة.

معلومات الصورة (ميتا)