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"
m |
(added RCount) |
||
Line 9: | Line 9: | ||
{{Riesel prime | {{Riesel prime | ||
|Rk= | |Rk= | ||
+ | |RCount= | ||
|RNash= | |RNash= | ||
|RMaxn= | |RMaxn= | ||
Line 37: | Line 38: | ||
{{Riesel prime | {{Riesel prime | ||
|Rk=19 | |Rk=19 | ||
+ | |RCount= | ||
|RNash=2390 | |RNash=2390 | ||
|RMaxn=20 | |RMaxn=20 | ||
Line 57: | Line 59: | ||
{{Riesel prime | {{Riesel prime | ||
|Rk=19 | |Rk=19 | ||
+ | |RCount=3 | ||
|RNash=2390 | |RNash=2390 | ||
|RMaxn=20 | |RMaxn=20 | ||
Line 73: | Line 76: | ||
|RSieve=y | |RSieve=y | ||
}} | }} | ||
− | [[Category:Prime collections]]</noinclude><includeonly>__NOTOC__{{#ifeq:{{NAMESPACENUMBER}}| | + | [[Category:Prime collections]]</noinclude><includeonly>__NOTOC__{{#ifeq:{{NAMESPACENUMBER}}|10|{{DISPLAYTITLE:Riesel primes of the form {{Kbn|{{#explode:{{PAGENAME}}||-1}}|2|n}}}}{{#if:{{{RMultiRes|}}}|{{ReservedM|{{{RMultiRes}}}}}|{{#if:{{{RReserved|}}}|{{Reserved|{{{RReserved}}}}}}}}}<!-- |
+ | -->{{#if:{{{RCount|}}}||[[Category:Missing RCount]]}}}}<!-- | ||
+ | -->{{#vardefine:_cnt|{{NVal list|{{{RNlist}}}|count}}}}{{#if:{{{RCount|}}}|{{#ifeq:{{{RCount|}}}|{{#var:_cnt}}||{{Alert|Attention!|Parameter RCount ({{{RCount}}}) differs from counting ({{#var:_cnt}}). Please adjust RCount.}}}}[[Category:Wrong RCount]]}} | ||
==Current data== | ==Current data== | ||
{| class="primedata" | {| class="primedata" | ||
Line 80: | Line 85: | ||
| align="right"| <b>k-value :</b> || {{{Rk}}} {{#if:{{{RSieve|}}}| ([[:File:{{PAGENAME}} sieve.zip|sieve]])|}} {{#if:{{{Rk|}}}|{{K-type|Riesel|{{{Rk}}}}}}} | | align="right"| <b>k-value :</b> || {{{Rk}}} {{#if:{{{RSieve|}}}| ([[:File:{{PAGENAME}} sieve.zip|sieve]])|}} {{#if:{{{Rk|}}}|{{K-type|Riesel|{{{Rk}}}}}}} | ||
|- | |- | ||
− | | align="right"| <b>Count :</b> || {{# | + | | align="right"| <b>Count :</b> || {{#if:{{{RCount|}}}|{{{RCount}}}|{{#var:_cnt}}}} |
|- | |- | ||
| align="right"| <b>Nash :</b> || {{{RNash}}} | | align="right"| <b>Nash :</b> || {{{RNash}}} |
Revision as of 15:34, 24 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= |RCount= |RNash= |RMaxn= |RDate= |RReserved= |RMultiRes= |RNlist= |RRemarks= |RSieve= }}
Categories set
In case of the following conditions special categories will be set automatically:
- k-value is disvisible by 15 → category Riesel 15k is set
- k-value is disvisible by 2145 → category Riesel 2145k is set
- k-value is disvisible by 2805 → category Riesel 2805k is set
- Nash-weight < 1000 → category Riesel Low weight is set
- remarks contain "Riesel" → category Riesel number is set
The category Riesel prime is set by default.
See also
Example
{{Riesel prime |Rk=19 |RCount= |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
|
|
Remarks : |
For this k-value theses are the Mersenne primes. |