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
(parameter for sieve file added)
(Riesel count 100 added)
Line 80: Line 80:
 
   | align="right"| <b>k-value :</b> || {{{Rk}}} {{#if:{{{RSieve|}}}|&nbsp;([[:File:{{PAGENAME}} sieve.zip|sieve]])|}} {{#if:{{{Rk|}}}|{{K-type|Riesel|{{{Rk}}}}}}}
 
   | align="right"| <b>k-value :</b> || {{{Rk}}} {{#if:{{{RSieve|}}}|&nbsp;([[:File:{{PAGENAME}} sieve.zip|sieve]])|}} {{#if:{{{Rk|}}}|{{K-type|Riesel|{{{Rk}}}}}}}
 
   |-
 
   |-
   | align="right"| <b>Count :</b> || {{NVal list|{{{RNlist}}}|count}}
+
   | align="right"| <b>Count :</b> || {{#vardefine:_cnt|{{NVal list|{{{RNlist}}}|count}}}}{{#var:_cnt}}
 
   |-
 
   |-
 
   | align="right"| <b>Nash :</b> || {{{RNash}}}
 
   | align="right"| <b>Nash :</b> || {{{RNash}}}
Line 106: Line 106:
 
}}
 
}}
 
{{#ifeq:{{NAMESPACENUMBER}}|0|<!--
 
{{#ifeq:{{NAMESPACENUMBER}}|0|<!--
 +
  -->[[Category:Riesel prime|#.....{{padleft:{{{Rk}}}|5|0}}]]<!--
 
   -->{{#ifexpr:{{{Rk}}} mod 15||[[Category:Riesel k=15k value|#.....{{padleft:{{{Rk}}}|5|0}}]]}}<!--
 
   -->{{#ifexpr:{{{Rk}}} mod 15||[[Category:Riesel k=15k value|#.....{{padleft:{{{Rk}}}|5|0}}]]}}<!--
 
   -->{{#ifexpr:{{{Rk}}} mod 2145||[[Category:Riesel k=2145k value|#.....{{padleft:{{{Rk}}}|5|0}}]]}}<!--
 
   -->{{#ifexpr:{{{Rk}}} mod 2145||[[Category:Riesel k=2145k value|#.....{{padleft:{{{Rk}}}|5|0}}]]}}<!--
Line 123: Line 124:
 
   -->{{#ifexpr:{{{Rk}}} > 1000000000|{{#ifexpr:{{{Rk}}} < 10000000000|[[Category:Riesel k=10e9-10e10|#.....{{padleft:{{{Rk}}}|5|0}}]]}}}}<!--
 
   -->{{#ifexpr:{{{Rk}}} > 1000000000|{{#ifexpr:{{{Rk}}} < 10000000000|[[Category:Riesel k=10e9-10e10|#.....{{padleft:{{{Rk}}}|5|0}}]]}}}}<!--
 
   -->{{#ifexpr:{{{Rk}}} > 10000000000|[[Category:Riesel k=10e10-infinity|#.....{{padleft:{{{Rk}}}|5|0}}]]}}<!--
 
   -->{{#ifexpr:{{{Rk}}} > 10000000000|[[Category:Riesel k=10e10-infinity|#.....{{padleft:{{{Rk}}}|5|0}}]]}}<!--
 
 
   -->{{#ifexpr:{{{RNash}}}<1000|[[Category:Riesel k=Low weight|#.....{{padleft:{{{Rk}}}|5|0}}]]}}<!--
 
   -->{{#ifexpr:{{{RNash}}}<1000|[[Category:Riesel k=Low weight|#.....{{padleft:{{{Rk}}}|5|0}}]]}}<!--
 
   -->{{#if:{{#pos:{{{RRemarks}}}|Riesel}}|[[Category:Riesel k=Riesel|#.....{{padleft:{{{Rk}}}|5|0}}]]}}<!--
 
   -->{{#if:{{#pos:{{{RRemarks}}}|Riesel}}|[[Category:Riesel k=Riesel|#.....{{padleft:{{{Rk}}}|5|0}}]]}}<!--
   -->[[Category:Riesel prime|#.....{{padleft:{{{Rk}}}|5|0}}]]<!--
+
   -->{{#ifexpr:{{#var:_cnt}}>=100|[[Category:Riesel count 100|#.....{{padleft:{{{Rk}}}|5|0}}]]}}<!--
 
   -->{{#if:{{{RMultiRes|}}}|[[Category:{{Multi Reservation:{{{RMultiRes}}}-Name}}|#.....{{padleft:{{{Rk}}}|5|0}}]]}}<!--
 
   -->{{#if:{{{RMultiRes|}}}|[[Category:{{Multi Reservation:{{{RMultiRes}}}-Name}}|#.....{{padleft:{{{Rk}}}|5|0}}]]}}<!--
 
-->}}
 
-->}}

Revision as of 12:25, 16 May 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=
|RSieve=
}}

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,Euclid
|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.
|RSieve=y
}}

will create:

Current data

k , b : 19 , {{{Rb}}} Upload me!
Count :
Attention! Parameter RCount=8 not given!
Nash : 2390
Max n : 20
Date : 2019-03-01
Reserved : Karsten Bonath, Euclid
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