File:EulerPhi.svg
From Wikimedia Commons
Jump to navigation
Jump to search
Size of this PNG preview of this SVG file: 731 × 551 pixels. Other resolutions: 319 × 240 pixels | 637 × 480 pixels | 1,019 × 768 pixels | 1,280 × 965 pixels | 2,560 × 1,930 pixels.
Original file (SVG file, nominally 731 × 551 pixels, file size: 232 KB)
File information
Structured data
Captions
Summary
[edit]DescriptionEulerPhi.svg |
English: Plot of the first 1000 values of the en:Euler's totient function. Svg version of Image:EulerPhi.PNG
|
Date | |
Source |
Own work This W3C-unspecified plot was created with Matplotlib. |
Author | Pietro Battiston (it:User:Toobaz) |
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
Licensing
[edit]I, the copyright holder of this work, hereby publish it under the following licenses:
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
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.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
You may select the license of your choice.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 16:07, 17 May 2012 | 731 × 551 (232 KB) | Itzuvit (talk | contribs) | Reverted to version as of 09:29, 16 March 2010 | |
12:22, 13 May 2012 | 1,200 × 1,200 (51 KB) | Antonsusi (talk | contribs) | Valid code; taking exactly one pixel for one scale unit; easier code. | ||
09:29, 16 March 2010 | 731 × 551 (232 KB) | Toobaz (talk | contribs) | Fixed the decomposition into primes: (x)range doesn't contain extrema. | ||
14:29, 24 May 2009 | 731 × 551 (231 KB) | Toobaz (talk | contribs) | {{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.}} | |
You cannot overwrite this file.
File usage
The following 2 pages use this file:
Global file usage
The following other wikis use this file:
- Usage on ar.wikipedia.org
- Usage on bg.wikipedia.org
- Usage on ca.wikipedia.org
- Usage on cy.wikipedia.org
- Usage on da.wikipedia.org
- Usage on de.wikipedia.org
- Usage on de.wikibooks.org
- Usage on en.wikipedia.org
- Usage on eo.wikipedia.org
- Usage on es.wikipedia.org
- Usage on eu.wikipedia.org
- Usage on fa.wikipedia.org
- Usage on fr.wikipedia.org
- Usage on gl.wikipedia.org
- Usage on he.wikipedia.org
- Usage on hr.wikipedia.org
- Usage on hu.wikipedia.org
- Usage on id.wikipedia.org
- Usage on it.wikipedia.org
- Usage on ja.wikipedia.org
- Usage on kk.wikipedia.org
- Usage on ko.wikipedia.org
- Usage on pt.wikipedia.org
- Usage on ru.wikipedia.org
- Usage on simple.wikipedia.org
- Usage on sl.wikipedia.org
- Usage on sq.wikipedia.org
- Usage on sr.wikipedia.org
- Usage on sv.wikipedia.org
- Usage on uk.wikipedia.org
- Usage on vi.wikipedia.org
- Usage on www.wikidata.org
- Usage on zh.wikipedia.org
Metadata
This file contains additional information, probably added from the digital camera or scanner used to create or digitize it.
If the file has been modified from its original state, some details may not fully reflect the modified file.
Width | 585pt |
---|---|
Height | 441pt |