File:CarmichaelLambda.svg
From testwiki
Jump to navigation
Jump to search
Original file (SVG file, nominally 575 × 431 pixels, file size: 232 KB)
Contents
This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.
Summary
| DescriptionCarmichaelLambda.svg |
Français : Graphe des 1000 premières valeurs de la fonction de Carmichael; en transparence les valeurs de la fonction phi d'Euler
English: PLot of the 1000 first values of the Carmichael's reduced totient function; in transparency values of Euler's phi function |
| Date | |
| Source | Own work |
| Author | Proz |
| Other versions |
|
| SVG development InfoField |
Source code
Created with python 2.7.13, matplotlib 2.0.0, sympy 1.1:
from sympy import *
import matplotlib.pyplot as plt
nmin, nmax = 1, 1000
l = range(nmin,nmax)
plt.plot(l, [totient(n) for n in l], 'g.', alpha=0.2, markersize=4)
plt.plot(l, [reduced_totient(n) for n in l], 'b.', alpha=1, markersize=2)
plt.axis([nmin,nmax,nmin,nmax])
plt.xlabel('$n$', fontsize='x-large')
ax = plt.gca()
ax.xaxis.set_label_coords(1.03,0.03)
xticks = ax.xaxis.get_major_ticks()
xticks[0].label1.set_visible(False)
yticks = ax.yaxis.get_major_ticks()
yticks[0].label1.set_visible(False)
plt.figtext(0.2,0.8,'$\lambda(n)$', fontsize='x-large', color='b', alpha=1)
plt.figtext(0.2,0.74,'$\\varphi(n)$', fontsize='x-large', color='g', alpha=0.6)
plt.savefig('carmichaelLambda.svg')
Licensing
Proz, the copyright holder of this work, hereby publishes it under the following license:
| This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication. | |
| The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse |
Captions
Add a one-line explanation of what this file represents
Items portrayed in this file
depicts
5 February 2018
image/svg+xml
9158572d1efeb7ed37d6cdbe3aa9c78e49d6e52b
237,637 byte
431 pixel
575 pixel
File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Thumbnail | Dimensions | User | Comment | |
|---|---|---|---|---|---|
| current | 19:55, 5 February 2018 | 575 × 431 (232 KB) | wikimediacommons>Proz | larger font |
File usage
There are no pages that use this file.
Retrieved from "https://en.wiki.beta.math.wmcloud.org/wiki/File:CarmichaelLambda.svg"