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:Riesel prime const"

From Prime-Wiki
Jump to: navigation, search
(new)
 
m
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
==Decription==
+
==Description==
Template Constant n Riesel
+
Template "Riesel prime const"
  
 
Display of current data for Riesel primes with a fixed ''n'', comments will be displayed as references at the bottom.
 
Display of current data for Riesel primes with a fixed ''n'', comments will be displayed as references at the bottom.
Line 7: Line 7:
 
==Calling==
 
==Calling==
 
<pre>
 
<pre>
{{Constant n Riesel
+
{{Riesel prime const
|Rn=
+
|Rcn=
|Rkstested=
+
|RcMaxk=
|RDate=
+
|RcDate=
|RReserved=
+
|RcReserved=
|RKlist=
+
|RcKlist=
|RRemarks=
+
|RcRemarks=
 
}}
 
}}
 
</pre>
 
</pre>
  
The category [[:Category:Riesel prime|Riesel prime]] is set.
+
The category [[:Category:Riesel prime const|Riesel prime const]] is set by default.
  
 
==Example==
 
==Example==
 
<pre>
 
<pre>
{{Constant n Riesel
+
{{Riesel prime const
|Rn=505000
+
|Rcn=505000
|Rkstested=1-100k
+
|RcMaxk=100000
|RDate=2005-01-12
+
|RcDate=2005-01-12
|RReserved=P. Minovic
+
|RcReserved=Predrag Minovic
|RKlist=395
+
|RcKlist=
|RRemarks=A comment
+
395;C:Test
 +
|RcRemarks=A comment
 
}}
 
}}
 
</pre>
 
</pre>
  
 
will create
 
will create
 
+
{{Riesel prime const
{{Constant n Riesel
+
|Rcn=505000
|Rn=505000
+
|RcMaxk=100000
|Rkstested=1-100k
+
|RcDate=2005-01-12
|RDate=2005-01-12
+
|RcReserved=Predrag Minovic
|RReserved=P. Minovic
+
|RcKlist=
|RKlist=395
+
395;C:Test
|RRemarks=A comment
+
|RcRemarks=A comment
 
}}
 
}}
[[Category:Prime collections]]</noinclude>
+
[[Category:Prime collections]]</noinclude><includeonly>__NOTOC__{{#ifeq:{{NAMESPACENUMBER}}|0|{{DISPLAYTITLE:Riesel primes of the form {{Kbn|k|2|{{#explode:{{PAGENAME}}||-1}}}}}}}}{{#if:{{{RcReserved|}}}{{Reserved|{{{RcReserved}}}}}}}
<includeonly>__NOTOC__{{#ifeq:{{NAMESPACENUMBER}}|0|{{DISPLAYTITLE:Riesel primes of the form {{Kbn|k|2|Rn}}}}}}{{#if:{{{RReserved|}}}{{Reserved|{{{RReserved}}}}}}}
 
 
==Current data==
 
==Current data==
 
{| class="primedata"
 
{| class="primedata"
| class="primetemplate" |
+
| class="primetemplate color-PrimeTemplate" |
 
  {|
 
  {|
   | align="right"| <b>n-value :</b> || {{{Rn}}}
+
   | align="right"| <b>n-value :</b> || {{{Rcn}}}
 
   |-
 
   |-
   | align="right"| <b>Count :</b> || {{NVal list|{{{RKlist}}}|count}}
+
   | align="right"| <b>Count :</b> || {{NVal list|{{{RcKlist}}}|count}}
 
   |-
 
   |-
   | align="right"| <b>k's tested :</b> || {{{Rkstested}}}
+
   | align="right"| <b>Max&nbsp;''k'' :</b> || {{{RcMaxk}}}
 
   |-
 
   |-
   | align="right"| <b>Date :</b> || {{{RDate}}}
+
   | align="right"| <b>Date :</b> || {{{RcDate}}}
 
   |-
 
   |-
   {{#if:{{{RReserved|}}}|
+
   {{#if:{{{RcReserved|}}}|
     {{!}} align="right" {{!}} <b>Reserved :</b> {{!}}{{!}} [[{{{RReserved}}}]]{{#ifeq:{{NAMESPACENUMBER}}|0|<span style="display:none">[[{{{RReserved}}}/Reserved]]</span>}}
+
     {{!}} align="right" {{!}} <b>Reserved :</b> {{!}}{{!}} [[{{{RcReserved}}}]]{{#ifeq:{{NAMESPACENUMBER}}|0|<span style="display:none">[[{{{RcReserved}}}/Reserved]]</span>}}
 
   }}
 
   }}
 
  |}
 
  |}
 
|
 
|
 
  {|  
 
  {|  
  | {{NVal list|{{{RKlist}}}}}
+
  | {{NVal list|{{{RcKlist}}}}}
 
  |}
 
  |}
 
|}
 
|}
{{#if:{{{RRemarks|}}}|
+
{{#if:{{{RcRemarks|}}}|
 
{{{!}}  
 
{{{!}}  
{{!}} <div height="120%" style="background-color:SkyBlue;"><b>Remarks : </b></div> {{!}}{{!}} {{{RRemarks}}}
+
{{!}} <div height="120%" style="background-color:SkyBlue;"><b>Remarks : </b></div> {{!}}{{!}} {{{RcRemarks}}}
 
{{!}}}
 
{{!}}}
 
}}
 
}}
 +
{{#if:{{#pos:{{{RcKlist}}}|:}}|
 +
==Notes==
 +
<references />}}
 
{{#ifeq:{{NAMESPACENUMBER}}|0|<!--
 
{{#ifeq:{{NAMESPACENUMBER}}|0|<!--
-->[[Category:Riesel prime|#.....{{padleft:{{{Rn}}}|5|0}}]]}}
+
-->[[Category:Riesel prime const|#.....{{padleft:{{{Rcn}}}|5|0}}]]}}</includeonly>

Latest revision as of 06:54, 28 May 2021

Description

Template "Riesel prime const"

Display of current data for Riesel primes with a fixed n, comments will be displayed as references at the bottom.

Calling

{{Riesel prime const
|Rcn=
|RcMaxk=
|RcDate=
|RcReserved=
|RcKlist=
|RcRemarks=
}}

The category Riesel prime const is set by default.

Example

{{Riesel prime const
|Rcn=505000
|RcMaxk=100000
|RcDate=2005-01-12
|RcReserved=Predrag Minovic
|RcKlist=
395;C:Test
|RcRemarks=A comment
}}

will create

Current data

n-value : 505000
Count : 1
Max k : 100000
Date : 2005-01-12
Reserved : Predrag Minovic
395[1]
Remarks :
A comment

Notes

  1. Test