Difference between revisions of "Template:Riesel prime"

From Prime-Wiki
Jump to: navigation, search
m
(added MultiReservation ability)
Line 13: Line 13:
 
|RDate=
 
|RDate=
 
|RReserved=
 
|RReserved=
 +
|RMultiRes=
 
|RNlist=
 
|RNlist=
 
|RRemarks=
 
|RRemarks=
Line 69: Line 70:
 
|RRemarks=For this ''k''-value theses are the [[Mersenne prime]]s.
 
|RRemarks=For this ''k''-value theses are the [[Mersenne prime]]s.
 
}}
 
}}
[[Category:Prime collections]]</noinclude><includeonly>__NOTOC__{{#ifeq:{{NAMESPACENUMBER}}|0|{{DISPLAYTITLE:Riesel primes of the form {{Kbn|{{#explode:{{PAGENAME}}||-1}}|2|n}}}}{{#if:{{{RReserved|}}}|{{Reserved|{{{RReserved}}}}}}}}}
+
[[Category:Prime collections]]</noinclude><includeonly>__NOTOC__{{#ifeq:{{NAMESPACENUMBER}}|0|{{DISPLAYTITLE:Riesel primes of the form {{Kbn|{{#explode:{{PAGENAME}}||-1}}|2|n}}}}{{#if:{{{RMultiRes|}}}|{{ReservedM|{{{RMultiRes}}}}}|{{#if:{{{RReserved|}}}|{{Reserved|{{{RReserved}}}}}}}}}}}
 
==Current data==
 
==Current data==
 
{| class="primedata"
 
{| class="primedata"
Line 82: Line 83:
 
   | align="right"| <b>Max&nbsp;<i>n</i> :</b> || {{Num|{{{RMaxn}}}}}
 
   | align="right"| <b>Max&nbsp;<i>n</i> :</b> || {{Num|{{{RMaxn}}}}}
 
   |-
 
   |-
   | align="right"| <b>Date :</b> || {{{RDate}}}
+
   | align="right"| <b>Date :</b> || {{#if:{{{RMultiRes|}}}|{{Project:Multi Reservation {{{RMultiRes}}}-Date}}|{{{RDate}}}}}
 
   |-
 
   |-
  {{#if:{{{RReserved|}}}|
+
{{#if:{{{RMultiRes|}}}|{{#vardefine:_res|{{Project:Multi Reservation {{{RMultiRes}}}-Contributor}}}}|{{#if:{{{RReserved|}}}|{{#vardefine:_res|{{{RReserved}}}}}}}}}{{#if:{{#var:_res}}|
    {{!}} align="right" {{!}} <b>Reserved :</b> {{!}}{{!}} [[{{{RReserved}}}]]{{#ifeq:{{NAMESPACENUMBER}}|0|<span style="display:none">[[{{{RReserved}}}/Reserved]]</span>}}
+
  {{!}} align="right" {{!}} <b>Reserved :</b> {{!}}{{!}} [[{{#var:_res}}]]{{#ifeq:{{NAMESPACENUMBER}}|0|<span style="display:none">[[{{#var:_res}}/Reserved]]</span>}}
 
   }}
 
   }}
 
  |}
 
  |}

Revision as of 07:57, 14 February 2020

Description

Template Riesel prime

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

Calling

{{Riesel prime
|Rk=
|RNash=
|RMaxn=
|RDate=
|RReserved=
|RMultiRes=
|RNlist=
|RRemarks=
}}

Categories set

In case of the following conditions special categories will be set automatically:

The category Riesel prime is set by default.

See also

Example

{{Riesel prime
|Rk=19
|RNash=2390
|RMaxn=20
|RDate=2019-03-01
|RReserved=Karsten Bonath
|RNlist=
2;T:ST;C:'''[[M1]]''', Near Woodall: (1+1)*2^1-1, also (2-1)*2^2-1
3;T:SW;C:[[M2]], Woodall: 2*2^2-1
5;C:[[M3]], Near Woodall: (3+1)*2^3-1
7;C:[[M4]], Near Woodall: (5-1)*2^5-1
13;C:[[M5]]
17;C:[[M6]]
19;C:[[M7]], Near Woodall: (15+1)*2^15-1
4253;43912;C:[[M19]]
|RRemarks=For this ''k''-value theses are the [[Mersenne prime]]s.
}}

will create:

Current data

k-value : 19
Count : 8
Nash : 2390
Max n : 20
Date : 2019-03-01
Reserved : Karsten Bonath
2[1], 3[2], 5[3], 7[4], 13[5], 17[6], 19[7], 4253[8]
Remarks :
For this k-value theses are the Mersenne primes.

Notes

  1. Sophie Germain, Twin, M1, Near Woodall: (1+1)*2^1-1, also (2-1)*2^2-1
  2. Sophie Germain, Woodall, M2, Woodall: 2*2^2-1
  3. M3, Near Woodall: (3+1)*2^3-1
  4. M4, Near Woodall: (5-1)*2^5-1
  5. M5
  6. M6
  7. M7, Near Woodall: (15+1)*2^15-1
  8. M19