|
|
(19 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| {{Languages}} | | {{Languages}} |
− | <div style="font-size:150%;">Here is a Wiki for primes and related topics, still under <span style="color:red;">construction</span>.</div><br> | + | <div style="position:relative; height:500px; width:900px; margin-left:10%; display: block; margin-left: auto; margin-right: auto"> |
| + | <div style="position:absolute; width:480px; left:19%">https://upload.wikimedia.org/wikipedia/commons/thumb/2/26/Blank_globe.svg/480px-Blank_globe.svg.png</div> |
| + | <div style="position:absolute; width:150px; top:3%; left:12%; font-size:150%">'''[[Project]]'''</div> |
| + | <div style="position:absolute; width:150px; top:3%; right:12%; font-size:150%">'''[[Help:Contents|Help]]'''</div> |
| + | <div style="position:absolute; width:150px; top:22%; left:7%; font-size:150%">'''[[Person]]'''</div> |
| + | <div style="position:absolute; width:150px; top:22%; right:7%; font-size:150%">'''[[Mathematics]]'''</div> |
| + | <div style="position:absolute; width:150px; top:47%; left:3%; font-size:150%">'''[[Prime]]'''</div> |
| + | <div style="position:absolute; width:150px; top:47%; right:3%; font-size:150%">'''[[GIMPS]]'''</div> |
| + | <div style="position:absolute; width:150px; top:70%; left:7%; font-size:150%">'''[[Software]]'''</div> |
| + | <div style="position:absolute; width:150px; top:70%; right:7%; font-size:150%">'''[https://www.mersenneforum.org/index.php Forum]'''</div> |
| + | <div style="position:absolute; width:150px; top:90%; left:12%; font-size:150%">'''[[Hardware]]'''</div> |
| + | <div style="position:absolute; width:150px; top:90%; right:12%; font-size:150%">'''[[Help:Category Tree|Categories]]'''</div> |
| + | <div style="position:absolute; width:350px; top:27%; left:26%; font-size:300%; cursor:default; text-align:center;">'''{{C|red|World record}}'''<br>{{Greatest Mersenne Prime|pure}}<br>'''{{C|red|is prime!}}'''</div> |
| + | <div style="position:absolute; width:100px; top:20%; left:30%; font-size:150%; cursor:default">'''HP49'''</div> |
| + | <div style="position:absolute; width:100px; top:20%; right:30%; font-size:150%; cursor:default">'''ALQ'''</div> |
| + | <div style="position:absolute; width:100px; top:15%; left:45%; font-size:150%; cursor:default">'''GMP'''</div> |
| + | <div style="position:absolute; width:100px; top:65%; left:30%; font-size:150%; cursor:default">'''ECM'''</div> |
| + | <div style="position:absolute; width:100px; top:65%; right:30%; font-size:150%; cursor:default">'''LLR'''</div> |
| + | <div style="position:absolute; width:100px; top:75%; right:45%; font-size:150%; cursor:default">'''PRP'''</div> |
| + | </div> |
| | | |
− | {{Box|hide=true|title=Examples in math (LaTeX) notation|content=
| + | <div style="width:100%; border:1px solid black; border-radius:5px; padding:2px 5px 2px 5px; background-color:SkyBlue;"><div style="text-align:center;">{{SITENAME}} made up of '''{{Num|{{formatnum:{{NUMBEROFPAGES}}|R}}}} pages''' with '''{{Num|{{formatnum:{{NUMBEROFARTICLES}}|R}}}} [[Special:AllPages|articles]]''' and '''{{Num|{{formatnum:{{NUMBEROFFILES}}|R}}}} [[Special:MediaStatistics|files]]''' done by '''{{#expr:{{NUMBEROFUSERS}}+{{NUMBEROFADMINS}}}} [[Special:ListUsers|users]]''' in '''{{Num|{{formatnum:{{NUMBEROFEDITS}}|R}}}} edits'''.</div> |
− | <pre><math>N \supset \mathbb P = \{ p_n \mid n \in N \}</math></pre> | |
− | :<math>N \supset \mathbb P = \{ p_n \mid n \in N \}</math>
| |
− | | |
− | <pre><math>\sideset{_1^2}{_3^4}\prod_a^b</math></pre>
| |
− | :<math>\sideset{_1^2}{_3^4}\prod_a^b</math> | |
− | | |
− | <pre><math>\iiiint\limits_{F} \, dx\,dy\,dz\,dt</math></pre>
| |
− | :<math>\iiiint\limits_{F} \, dx\,dy\,dz\,dt</math>
| |
− | | |
− | <pre><math>f(n) =
| |
− | \begin{cases}
| |
− | n/2, & \mbox{if }n\mbox{ is even} \\
| |
− | 3n+1, & \mbox{if }n\mbox{ is odd}
| |
− | \end{cases}</math></pre>
| |
− | :<math>f(n) =
| |
− | \begin{cases}
| |
− | n/2, & \mbox{if }n\mbox{ is even} \\
| |
− | 3n+1, & \mbox{if }n\mbox{ is odd}
| |
− | \end{cases}</math>
| |
− | | |
− | <pre><math>\sum_{i=1}^\infty \frac{1}{p_i} = \frac{1}{2} + \frac{1}{3} + \frac{1}{5} + \frac{1}{7} + \frac{1}{11} + \dotsb = \infty</math></pre>
| |
− | :<math>\sum_{i=1}^\infty \frac{1}{p_i} = \frac{1}{2} + \frac{1}{3} + \frac{1}{5} + \frac{1}{7} + \frac{1}{11} + \dotsb = \infty</math>
| |
− | | |
− | <pre><math>\pi(1)=0\ ;\ \pi(10) = 4\ ;\ \pi(100) = 25\ ;\ \pi(1000) = 168; \ \pi(1000000)=78498</math></pre>
| |
− | :<math>\pi(1)=0\ ;\ \pi(10) = 4\ ;\ \pi(100) = 25\ ;\ \pi(1000) = 168; \ \pi(1000000)=78498</math> | |
− | }}
| |
− | | |
− | {{Box|hide=true|title=Example of page categorizations|content=<categorytree mode=categories depth="5" showcount="on">!TopLevel</categorytree>}}
| |
− | | |
− | {{Box|hide=true|title=Example of prime sequence and reservation|content=[[Williams primes base 5]]}}
| |
− | | |
− | {{Box|hide=true|title=Configuration tests: external links open in new browser tab/window|content=
| |
− | *[https://www.rieselprime.de/default.htm Riesel and Proth Prime Databse RPPDb]
| |
− | *[https://www.mersenneforum.org/index.php MersenneForum.org]
| |
− | *[http://factordb.com/ FactorDB]
| |
− | }}
| |
− | | |
− | {{Box|hide=true|title=Examples of template usage and data table generating|content=
| |
− | The <b>[[:Category:Carol-Kynea_primes|category]]</b> for Carol/Kynea primes holds 3 example pages for some bases (2, 6 and 10).
| |
− | | |
− | These pages hold their data in the template <b>[[:Template:CarolKyneaBase|CarolKyneaBase]]</b> using named parameters.
| |
− | | |
− | The parameters can be used to create automatically a <b>[[Carol-Kynea_table|table]]</b> of those pages.
| |
− | | |
− | }}
| |
− | | |
− | {{Box|hide=true|title=Examples for including PDF documents|content=
| |
− | <pdf width="320" height="480">File:First PDF.pdf</pdf>
| |
− | | |
− | *Show document starting at page 3 and different sizings:
| |
− | <pdf page="3" width="500" height="800">File:First PDF.pdf</pdf>
| |
− | }}
| |
− | | |
− | {{Box|hide=true|title=Example for fetching data from RieselPrime database|content=
| |
− | The data are collected from the internal SQL database by [https://www.mediawiki.org/wiki/Extension:External_Data Extension:External Data]:
| |
− | * table: RieselPrime
| |
− | * field: rieselk_id = 4 (-> "1" = Mersenne primes)
| |
− | * fields collected: n, comment, utm (prime index n, comment like "Woodall", utm: id of Top5000 page)
| |
− | | |
− | Functioning but still complicated: no parser/string functions allowed in "#for_external_table" statement, therefore using variables.
| |
− | {{#get_db_data:db=RPPDB | |
− | |from=RieselPrime
| |
− | |where=rieselk_id=4
| |
− | |order by=n ASC
| |
− | |data=nval=n,rem=comment,T5000=utm
| |
− | }} | |
− | Mersenne primes <math>2^n-1</math>, prime for ''n'':<br/>
| |
− | :{{#vardefine:liste|{{#for_external_table:<nowiki/>{{{nval}}},}}}}<!--
| |
− | -->{{#vardefine:T5s|{{#for_external_table:<nowiki/>{{{T5000}}},}}}}<!--
| |
− | -->{{#vardefine:rems|{{#for_external_table:<nowiki/>{{{rem}}},}}}}<!--
| |
− | -->{{#loop:idx|0|48|{{#vardefine:nr|{{#explode:{{#var:liste}}|,|{{#var:idx}}}}}}<!--
| |
− | -->{{#vardefine:T5id|{{#explode:{{#var:T5s}}|,|{{#var:idx}}}}}}<!--
| |
− | -->{{#vardefine:r|{{#explode:{{#var:rems}}|,|{{#var:idx}}}}}}<!--
| |
− | -->{{#if:{{#var:T5id}}|{{T5000|{{#var:T5id}}|{{#var:nr}}}}|{{#var:nr}}}}<!--
| |
− | -->{{#if:{{#var:r}}|<span style="color:red;" title="{{#var:r}}">'''*'''</span>}},<nowiki> </nowiki><!--
| |
− | -->}}
| |
− | | |
− | }}
| |
− | | |
− | {{Box|hide=true|title=Examples for showing images of external pages|content= | |
− | Images from external sources have to be put as full link on a page.
| |
− | ==Images from Commons Wikimedia==
| |
− | {{{!}} | |
− | {{!}} https://upload.wikimedia.org/wikipedia/commons/3/30/MarinMersenne.jpg
| |
− | {{!}}- | |
− | {{!}} [https://commons.wikimedia.org/wiki/Category:Marin_Mersenne Marin Mersenne]
| |
− | {{!}}}
| |
− | | |
− | {{{!}}
| |
− | {{!}} https://upload.wikimedia.org/wikipedia/commons/4/49/GIMPS_logo.png
| |
− | {{!}}-
| |
− | {{!}} [https://commons.wikimedia.org/wiki/File:GIMPS_logo.png GIMPS logo]
| |
− | {{!}}}
| |
− | | |
− | ==Image from Wikipedia==
| |
− | Images can only be diplayed in available sizes, no resize possible.
| |
− | {{{!}}
| |
− | {{!}} https://upload.wikimedia.org/wikipedia/commons/3/34/Marin_mersenne.jpg
| |
− | {{!}}-
| |
− | {{!}} [https://commons.wikimedia.org/wiki/File:Marin_mersenne.jpg Image from Wikpedia]
| |
− | {{!}}}
| |
− | }}
| |
− | | |
− | {{Box|hide=false|title=Example for SVG support|content=
| |
− | Test file, original size 580x400 pixel:
| |
− | [[File:Test.svg]]
| |
− | | |
− | Test file,size 80 pixel in width:
| |
− | [[File:Test.svg|80px]]
| |
− | | |
− | Clicking on the image will lead to the saved file.
| |
− | }}
| |