Currently there may be errors shown on top of a page, because of a missing Wiki update (PHP version and extension DPL3). |
Navigation
Topics | Help • Register • News • History • How to • Sequences statistics • Template prototypes |
Difference between revisions of "Template:Leyland prime"
(prime/PRP in title) |
(class) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
Display of data for Leyland primes/PRP. | Display of data for Leyland primes/PRP. | ||
− | == | + | The categories [[:Category:Leyland prime P|Leyland prime P]] or [[:Category:Leyland prime M|Leyland prime M]] are set by default. |
+ | |||
+ | Notes: | ||
+ | :The sign is derived from the page title. | ||
+ | ::"Leyland prime P 21 12" will create a page for the number 21^12 + 12^21. | ||
+ | ::"Leyland prime M 21 12" will create a page for the number 21^12 - 12^21. | ||
+ | :If "LeProver" is given, the number is categorized in [[:Category:Leyland prime P proven|Leyland prime P proven]], else [[:Category:Leyland prime P PRP|Leyland prime P PRP]] (or [[:Category:Leyland prime M proven|Leyland prime M proven]], else [[:Category:Leyland prime M PRP|Leyland prime M PRP]] for the minus side). | ||
+ | |||
+ | ==Prototype== | ||
<pre> | <pre> | ||
{{Leyland prime | {{Leyland prime | ||
Line 17: | Line 25: | ||
|LePDate= | |LePDate= | ||
|LeProgram= | |LeProgram= | ||
+ | |LeRemarks= | ||
}} | }} | ||
</pre> | </pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Example== | ==Example== | ||
Line 39: | Line 41: | ||
|LePDate=2001-Jun-5 | |LePDate=2001-Jun-5 | ||
|LeProgram=Titanix 2.1.0 (ECPP) | |LeProgram=Titanix 2.1.0 (ECPP) | ||
+ | |LeRemarks=Test | ||
}} | }} | ||
</pre> | </pre> | ||
Line 52: | Line 55: | ||
|LePDate=2001-06-05 | |LePDate=2001-06-05 | ||
|LeProgram=Titanix 2.1.0 (ECPP) | |LeProgram=Titanix 2.1.0 (ECPP) | ||
+ | |LeRemarks=Test | ||
}} | }} | ||
[[Category:Prime collections]]</noinclude><includeonly>__NOTOC__{{#ifeq:{{NAMESPACENUMBER}}|0|<!-- | [[Category:Prime collections]]</noinclude><includeonly>__NOTOC__{{#ifeq:{{NAMESPACENUMBER}}|0|<!-- | ||
Line 59: | Line 63: | ||
-->{{#vardefine:t|{{#switch:{{#var:type}}|M=-|P=+}}}}<!-- | -->{{#vardefine:t|{{#switch:{{#var:type}}|M=-|P=+}}}}<!-- | ||
-->{{DISPLAYTITLE:Leyland {{#if:{{{LeProver|}}}|prime|PRP}} of the form {{#var:x}}<sup>{{#var:y}}</sup>{{#var:t}}{{#var:y}}<sup>{{#var:x}}</sup>}}<!-- | -->{{DISPLAYTITLE:Leyland {{#if:{{{LeProver|}}}|prime|PRP}} of the form {{#var:x}}<sup>{{#var:y}}</sup>{{#var:t}}{{#var:y}}<sup>{{#var:x}}</sup>}}<!-- | ||
− | -->[[Category:Leyland prime {{#var:type}}|#......{{padleft:{{{LeDigits}}}|6}}]]|{{#vardefine:type|P}}}} | + | -->[[Category:Leyland prime {{#var:type}}|#......{{padleft:{{{LeDigits}}}|6}}]]<!-- |
+ | -->{{#if:{{{LeProver|}}}|<!-- | ||
+ | -->[[Category:Leyland prime {{#var:type}} proven|#......{{padleft:{{{LeDigits}}}|6}}]]<!-- | ||
+ | -->|[[Category:Leyland prime {{#var:type}} PRP|#......{{padleft:{{{LeDigits}}}|6}}]]}}<!-- | ||
+ | -->|{{#vardefine:type|P}}}} | ||
==Data== | ==Data== | ||
{| class="primedata" | {| class="primedata" | ||
− | | class="primetemplate" | | + | | class="primetemplate color-PrimeTemplate" | |
{| | {| | ||
| align="right" | <b>Number :</b> || <div style="font-size:125%;font-weight:bold;">[http://factordb.com/index.php?query={{{LeX}}}^{{{LeY}}}{{#switch:{{#var:type}}|M=-|P=%2B}}{{{LeY}}}^{{{LeX}}} {{{LeX}}}<sup>{{{LeY}}}</sup> {{#switch:{{#var:type}}|M=-|P=+}} {{{LeY}}}<sup>{{{LeX}}}</sup>]</div> | | align="right" | <b>Number :</b> || <div style="font-size:125%;font-weight:bold;">[http://factordb.com/index.php?query={{{LeX}}}^{{{LeY}}}{{#switch:{{#var:type}}|M=-|P=%2B}}{{{LeY}}}^{{{LeX}}} {{{LeX}}}<sup>{{{LeY}}}</sup> {{#switch:{{#var:type}}|M=-|P=+}} {{{LeY}}}<sup>{{{LeX}}}</sup>]</div> | ||
Line 76: | Line 84: | ||
| align="right" | <b>Program :</b> || {{{LeProgram}}} | | align="right" | <b>Program :</b> || {{{LeProgram}}} | ||
|} | |} | ||
− | |} | + | |}{{#if:{{{LeRemarks|}}}| |
+ | {{{!}} | ||
+ | {{!}} <div height="120%" class="color-PrimeTemplate"><b>Remarks : </b></div> {{!}}{{!}} {{{LeRemarks}}} | ||
+ | {{!}}} | ||
+ | }} | ||
</includeonly> | </includeonly> |
Latest revision as of 02:02, 17 May 2021
Description
Template: Leyland prime
Display of data for Leyland primes/PRP.
The categories Leyland prime P or Leyland prime M are set by default.
Notes:
- The sign is derived from the page title.
- "Leyland prime P 21 12" will create a page for the number 21^12 + 12^21.
- "Leyland prime M 21 12" will create a page for the number 21^12 - 12^21.
- If "LeProver" is given, the number is categorized in Leyland prime P proven, else Leyland prime P PRP (or Leyland prime M proven, else Leyland prime M PRP for the minus side).
Prototype
{{Leyland prime |LeX= |LeY= |LeDigits= |LeNr= |LeFinder= |LeFDate= |LeProver= |LePDate= |LeProgram= |LeRemarks= }}
Example
{{Leyland prime |LeX=1036 |LeY=5 |LeDigits=725 |LeNr=68706 |LeFinder=Paul Leyland |LeFDate=2001-06-04 |LeProver=Andrey Kulsha |LePDate=2001-Jun-5 |LeProgram=Titanix 2.1.0 (ECPP) |LeRemarks=Test }}
will create:
Data
|
Remarks : |
Test |