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"

From Prime-Wiki
Jump to: navigation, search
(new)
 
m
Line 64: Line 64:
 
| class="primetemplate" |
 
| class="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> + {{{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>
 
   |-
 
   |-
 
   | align="right" | <b>Digits :</b> || {{{LeDigits}}}
 
   | align="right" | <b>Digits :</b> || {{{LeDigits}}}

Revision as of 23:16, 17 July 2019

Description

Template: Leyland prime

Display of data for Leyland primes.

Calling

{{Leyland prime
|LeX=
|LeY=
|LeDigits=
|LeNr=
|LeFinder=
|LeFDate=
|LeProver=
|LePDate=
|LeProgram=
}}

The categories Leyland prime P or Leyland prime M are set by default.

Note:

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.

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)
}}

will create:

Data

Number :
Digits : 725
Leyland # : 68706
Finder : 2001-06-04 Paul Leyland
Prover : 2001-06-05 Andrey Kulsha
Program : Titanix 2.1.0 (ECPP)