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"
m |
(new categories for prime/PRP) |
||
Line 23: | Line 23: | ||
The categories [[:Category:Leyland prime P|Leyland prime P]] or [[:Category:Leyland prime M|Leyland prime M]] are set by default. | 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. | :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 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. | ::"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]] | ||
==Example== | ==Example== | ||
Line 62: | 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>}}<!-- | ||
+ | -->{{#if:{{{LeProver|}}}|[[Category:Leyland prime P proven]]|[[Category:Leyland prime P PRP]]}}<!-- | ||
-->[[Category:Leyland prime {{#var:type}}|#......{{padleft:{{{LeDigits}}}|6}}]]|{{#vardefine:type|P}}}} | -->[[Category:Leyland prime {{#var:type}}|#......{{padleft:{{{LeDigits}}}|6}}]]|{{#vardefine:type|P}}}} | ||
==Data== | ==Data== |
Revision as of 16:22, 23 July 2019
Description
Template: Leyland prime
Display of data for Leyland primes/PRP.
Calling
{{Leyland prime |LeX= |LeY= |LeDigits= |LeNr= |LeFinder= |LeFDate= |LeProver= |LePDate= |LeProgram= |LeRemarks= }}
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
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 |