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"

From Prime-Wiki
Jump to: navigation, search
(display type)
(cat. riesel prime standard, DISPLAYTITLE)
Line 3: Line 3:
 
Template Riesel prime
 
Template Riesel prime
  
Display of current data for Riesel primes.
+
Display of current data for Riesel primes, comments will be displayed as references at the bottom.
  
 
==Calling==
 
==Calling==
Line 25: Line 25:
 
*Nash-weight < 1000 &rarr; category [[:Category:Riesel k=Low weight|Riesel Low weight]] is set
 
*Nash-weight < 1000 &rarr; category [[:Category:Riesel k=Low weight|Riesel Low weight]] is set
 
*remarks contain "Riesel" &rarr; category [[:Category:Riesel k=Riesel|Riesel number]] is set
 
*remarks contain "Riesel" &rarr; category [[:Category:Riesel k=Riesel|Riesel number]] is set
 +
 +
The category [[:Category:Riesel prime|Riesel prime]] is set by default.
  
 
==See also==
 
==See also==
Line 50: Line 52:
 
</pre>
 
</pre>
 
will create:
 
will create:
{{Riesel prime
+
==Current data==
|Rk=19
+
{{#vardefine:nn|
|RNash=2390
 
|RMaxn=20
 
|RDate=2019-03-01
 
|RReserved=Karbon
 
|RNlist=
 
 
2;T:ST;C:'''[[M1]]''', Near Woodall: (1+1)*2^1-1, also (2-1)*2^2-1
 
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
 
3;T:SW;C:[[M2]], Woodall: 2*2^2-1
Line 65: Line 62:
 
19;C:[[M7]], Near Woodall: (15+1)*2^15-1
 
19;C:[[M7]], Near Woodall: (15+1)*2^15-1
 
4253;43912;C:[[M19]]
 
4253;43912;C:[[M19]]
|RRemarks=For this ''k''-value theses are the [[Mersenne prime]]s.
 
 
}}
 
}}
 +
{| style="border:solid black 1px"
 +
| <div width="15%" style="background-color:#ddd">
 +
{|
 +
  | <b>k-value :</b> || 19 {{Riesel k-type|19}}
 +
  |-
 +
  | <b>Count :</b> || 8
 +
  |-
 +
  | <b>Nash :</b> || 2390
 +
  |-
 +
  | <b>Max&nbsp;<i>n</i> :</b> || 20
 +
  |-
 +
  | <b>Date :</b> || 2019-03-01
 +
  |-
 +
  | <b>Reserved :</b> || [[:User:Karbon|Karbon]]
 +
|}</div>
 +
| <div width="85%">
 +
{|
 +
| {{NVal list|{{#var:nn}}}}
 +
|}
 +
</div>
 +
|}
 +
{|
 +
| <div height="120%" style="background-color:#ddd;"><b>Remarks : </b></div> || For this ''k''-value theses are the [[Mersenne prime]]s.
 +
|}
 +
==Notes==
 +
<references />
 
[[Category:Templates]]
 
[[Category:Templates]]
</noinclude><includeonly>
+
</noinclude><includeonly>{{DISPLAYTITLE:Riesel primes of the form: {{Kbn|{{#explode:{{PAGENAME}}||-1}}|n}}}}
 
==Current data==
 
==Current data==
 
{| style="border:solid black 1px"
 
{| style="border:solid black 1px"
Line 103: Line 125:
 
-->{{#ifexpr:{{{Rk}}} mod 2805||[[Category:Riesel k=2805k value|#..........{{padleft:{{#explode:{{{Rk}}}||0}}|10|0}}]]}}<!--
 
-->{{#ifexpr:{{{Rk}}} mod 2805||[[Category:Riesel k=2805k value|#..........{{padleft:{{#explode:{{{Rk}}}||0}}|10|0}}]]}}<!--
 
-->{{#ifexpr:{{{RNash}}}<1000|[[Category:Riesel k=Low weight|#..........{{padleft:{{#explode:{{{Rk}}}||0}}|10|0}}]]}}<!--
 
-->{{#ifexpr:{{{RNash}}}<1000|[[Category:Riesel k=Low weight|#..........{{padleft:{{#explode:{{{Rk}}}||0}}|10|0}}]]}}<!--
-->{{#if:{{#pos:{{{RRemarks}}}|Riesel}}|[[Category:Riesel k=Riesel|#..........{{padleft:{{#explode:{{{Rk}}}||0}}|10|0}}]]}}
+
-->{{#if:{{#pos:{{{RRemarks}}}|Riesel}}|[[Category:Riesel k=Riesel|#..........{{padleft:{{#explode:{{{Rk}}}||0}}|10|0}}]]}}<!--
 +
-->[[Category:Riesel prime|#..........{{padleft:{{#explode:{{{Rk}}}||0}}|10|0}}]]
 
{{#if:{{#pos:{{{RNlist}}}|:}}|
 
{{#if:{{#pos:{{{RNlist}}}|:}}|
 
==Notes==
 
==Notes==
 
<references />}}</includeonly>
 
<references />}}</includeonly>

Revision as of 13:36, 29 March 2019

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=
|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=Karbon
|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 Template:Riesel k-type
Count : 8
Nash : 2390
Max n : 20
Date : 2019-03-01
Reserved : Karbon
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 n=2, Twin n=2, M1, Near Woodall: (1+1)*2^1-1, also (2-1)*2^2-1
  2. Sophie Germain n=3, 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