ملف:EulerPhi.svg
حجم معاينة PNG لذلك الملف ذي الامتداد SVG: 731 × 551 بكسل. البعد الآخر: 2٬560 × 1٬930 بكسل.
الملف الأصلي (ملف 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
|
⧼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⧽ |
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
ترخيص
تاريخ الملف
اضغط على زمن/تاريخ لرؤية الملف كما بدا في هذا الزمن.
زمن/تاريخ | صورة مصغرة | الأبعاد | مستخدم | تعليق | |
---|---|---|---|---|---|
حالي | ★ مراجعة معتمدة 21:12، 25 ديسمبر 2023 | 731 × 551 (232 كيلوبايت) | Pastakhov (نقاش | مساهمات) | Upload https://upload.wikimedia.org/wikipedia/commons/9/9b/EulerPhi.svg |
لا يمكنك استبدال هذا الملف.
وصلات
لا يوجد صفحات تصل لهذه الصورة.