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:TPRPTop"

From Prime-Wiki
Jump to: navigation, search
(new)
 
(omit 2nd param)
 
Line 7: Line 7:
 
* number string
 
* number string
 
* display text
 
* display text
 +
 +
If the second parameter is omitted, the displayed text is "PRP Top".
  
 
Example:
 
Example:
 
<pre>
 
<pre>
 
{{TPRPTop|(10^109297-1)/9|(10<sup>109297</sup>-1)/9}}
 
{{TPRPTop|(10^109297-1)/9|(10<sup>109297</sup>-1)/9}}
 +
{{TPRPTop|(10^109297-1)/9}}
 
</pre>
 
</pre>
 +
gives
 
:{{TPRPTop|(10^109297-1)/9|(10<sup>109297</sup>-1)/9}}
 
:{{TPRPTop|(10^109297-1)/9|(10<sup>109297</sup>-1)/9}}
 +
:{{TPRPTop|(10^109297-1)/9}}
  
[[Category:Templates]]</noinclude><includeonly>[http://www.primenumbers.net/prptop/searchform.php?form={{{1}}} {{{2}}}]</includeonly>
+
[[Category:Templates]]</noinclude><includeonly>[http://www.primenumbers.net/prptop/searchform.php?form={{{1}}} {{#if:{{{2|}}}|{{{2}}}|PRP Top}}]</includeonly>

Latest revision as of 16:58, 5 April 2024

Template: TPRPTop

Shows a link to a probable prime of the PRP Top Records by Henri Lifchitz & Renaud Lifchitz.

Parameter:

  • number string
  • display text

If the second parameter is omitted, the displayed text is "PRP Top".

Example:

{{TPRPTop|(10^109297-1)/9|(10<sup>109297</sup>-1)/9}}
{{TPRPTop|(10^109297-1)/9}}

gives

(10109297-1)/9
PRP Top