File:Sum of reciprocals of primes.svg

From testwiki
Jump to navigation Jump to search
    Original file (SVG file, nominally 1,984 × 1,247 pixels, file size: 3 KB)

    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

    Description
    English: A plot showing the sum of the reciprocal of the primes growing without bound. The x axis is n and is logarithmic (labelled in evenly spaced powers of 10), going up to 106. A loose but still unbounded lower bound mentioned in the article (ln⁡ln⁡(n+1)−ln⁡π26) is also shown for reference. Source used to generate this chart is shown below.
    Date
    Source Own work
    Author Dcoetzee
    SVG development
    InfoField
     The SVG code is valid.
     This chart was created with Mathematica.
      This chart uses embedded text that can be easily translated using a text editor.

    Licensing

    I, the copyright holder of this work, hereby publish it under the following license:
    Creative Commons CC-Zero 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.

    Source

    All source released under CC0 waiver.

    Mathematica source to generate graph (which was then saved as SVG from Mathematica):

    primerecip = Table[][][n], {n, 1, 10^6}];
    g[x_] := Apply[][][x]];
    base = N[][10^6]/600)];
    t = Table[][base^x]}, {x, 1, Floor[][base, 10^6] - 1}];
    Show[][t, Joined -> True], 
     LogLinearPlot[][][x + 1] - Log[Pi^2/6], {x, 1, 10^6}, 
      PlotStyle -> ColorData[1, 2], LabelStyle -> FontSize -> 14]
    

    LaTeX source for labels:

    $$ \sum_{{\scriptstyle p\scriptsize\textrm{ prime }}\atop {\scriptstyle p\le n}}\frac1p $$
    $$ \ln \ln (n+1) - \ln\frac{\pi^2}6 $$
    

    These were converted to SVG with [1] and then the graph was embedded into the resulting document in Inkscape. Axis fonts were also converted to Liberation Serif in Inkscape.

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    21 March 2013

    95,685 byte

    154 pixel

    236 pixel

    image/svg+xml

    1e67e8c30ef064c677a98c1f5a26602dfce1a90f

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current15:16, 27 April 2026Thumbnail for version as of 15:16, 27 April 20261,984 × 1,247 (3 KB)wikimediacommons>Д.Ильин+ ln

    There are no pages that use this file.