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"
(cat.Missing XCount) |
(Wrong XCount & templ.) |
||
Line 3: | Line 3: | ||
Template Riesel prime | Template Riesel prime | ||
− | Display of current data for Riesel primes, comments will be displayed as references at the bottom. | + | Display of current data for Riesel primes {{Kbn|k|2|n}}, comments will be displayed as references at the bottom. |
==Prototype== | ==Prototype== | ||
Line 22: | Line 22: | ||
==Parameters== | ==Parameters== | ||
− | *'''Rk:''' the | + | *'''Rk:''' the {{Vk}}-value of {{Kbn|{{Vk}}|2|{{Vn}}}} |
− | *'''RCount:''' the number of | + | *'''RCount:''' the number of {{Vn}}-values given |
: If no count is given, this will be automatically counted. If given and differs from automated value, a warning will be shown. | : If no count is given, this will be automatically counted. If given and differs from automated value, a warning will be shown. | ||
*'''RNash:''' the [[Nash weight]] | *'''RNash:''' the [[Nash weight]] | ||
− | *'''RMaxn:''' highest | + | *'''RMaxn:''' highest {{Vn}}-value of continuous searched range (from {{Vn}}=1) |
*'''RDate:''' last date of edit (mostly latest history entry) | *'''RDate:''' last date of edit (mostly latest history entry) | ||
*'''RReserved:''' person(s) who reserved this sequence (comma separated) | *'''RReserved:''' person(s) who reserved this sequence (comma separated) | ||
*'''RMultiRes:''' number of [[:Template:Multi Reservation]]: RMaxn and RDate will be taken from there | *'''RMultiRes:''' number of [[:Template:Multi Reservation]]: RMaxn and RDate will be taken from there | ||
− | *'''RNlist:''' list of every | + | *'''RNlist:''' list of every {{Vn}}-value (one per row) with comments |
*'''RRemarks:''' any helpful text or links for this sequence | *'''RRemarks:''' any helpful text or links for this sequence | ||
− | *'''RSieve:''' if set a zip-file can be uploaded (filename is given then) if not available; if exists file | + | *'''RSieve:''' if set a zip-file can be uploaded (filename is given then) if not available; if exists file is downloadable |
==Categories set== | ==Categories set== | ||
In case of the following conditions special categories will be set automatically: | In case of the following conditions special categories will be set automatically: | ||
− | *If | + | *If {{Vk}}-value is disvisible by 3 → category [[:Category:Riesel k=3k value|Riesel 3k]] is set |
− | *If | + | *If {{Vk}}-value is disvisible by 15 → category [[:Category:Riesel k=15k value|Riesel 15k]] is set |
− | *If | + | *If {{Vk}}-value is disvisible by 2145 → category [[:Category:Riesel k=2145k value|Riesel 2145k]] is set |
− | *If | + | *If {{Vk}}-value is disvisible by 2805 → category [[:Category:Riesel k=2805k value|Riesel 2805k]] is set |
*If Nash-weight < 1000 → category [[:Category:Riesel k=Low weight|Riesel Low weight]] is set | *If Nash-weight < 1000 → category [[:Category:Riesel k=Low weight|Riesel Low weight]] is set | ||
− | *If there are 100 | + | *If there are 100 {{Vn}}-values or more → category [[:Category:Riesel count 100|Riesel count 100]] is set |
*If RCount=0 → category [[:Category:Zero RCount|Zero RCount]] is set | *If RCount=0 → category [[:Category:Zero RCount|Zero RCount]] is set | ||
*If RCount=0 & RNash=0 & RMaxn=0 → category [[:Category:Riesel k=Riesel|Riesel number]] is set | *If RCount=0 & RNash=0 & RMaxn=0 → category [[:Category:Riesel k=Riesel|Riesel number]] is set | ||
Line 69: | Line 69: | ||
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 | + | |RRemarks=For this {{Vk}}-value theses are the [[Mersenne prime]]s. |
|RSieve=y | |RSieve=y | ||
}} | }} | ||
Line 91: | Line 91: | ||
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 | + | |RRemarks=For this {{Vk}}-value theses are the [[Mersenne prime]]s. |
|RSieve=y | |RSieve=y | ||
}} | }} | ||
− | [[Category:Prime collections]]</noinclude><includeonly>__NOTOC__{{#ifeq:{{NAMESPACENUMBER}}|0|{{DISPLAYTITLE:Riesel primes of the form {{Kbn|{{#explode:{{PAGENAME}}||-1}}|2| | + | [[Category:Prime collections]]</noinclude><includeonly>__NOTOC__{{#ifeq:{{NAMESPACENUMBER}}|0|{{DISPLAYTITLE:Riesel primes of the form {{Kbn|{{#explode:{{PAGENAME}}||-1}}|2|{{Vn}}}}}}{{#if:{{{RMultiRes|}}}|{{ReservedM|{{{RMultiRes}}}}}|{{#if:{{{RReserved|}}}|{{Reserved|{{{RReserved}}}}}}}}}<!-- |
-->{{#if:{{{RCount|}}}||[[Category:Missing XCount]]}}<!-- | -->{{#if:{{{RCount|}}}||[[Category:Missing XCount]]}}<!-- | ||
-->{{#vardefine:_cnt|{{NVal list|{{{RNlist}}}|count}}}}<!-- | -->{{#vardefine:_cnt|{{NVal list|{{{RNlist}}}|count}}}}<!-- | ||
Line 102: | Line 102: | ||
| class="primetemplate" | | | class="primetemplate" | | ||
{| | {| | ||
− | | align="right"| <b> | + | | align="right"| <b>{{Vk}}-value :</b> || {{{Rk}}} {{#if:{{{RSieve|}}}|{{#ifexist:File:{{PAGENAME}} sieve.zip| ([[:File:{{PAGENAME}} sieve.zip|sieve]])|[[File:{{PAGENAME}} sieve.zip|Upload me!]]}}}} {{#if:{{{Rk|}}}|{{#ifeq:{{#var:_ris}}|0|{{K-type|Riesel|{{{Rk}}}}}}}}} |
|- | |- | ||
− | | align="right"| <b>Count :</b> || {{#if:{{{RCount|}}}|{{#ifeq:{{{RCount|}}}|{{#var:_cnt}}|{{{RCount}}}|{{Alert|Attention!|Parameter RCount={{{RCount}}} differs from counting={{#var:_cnt}}}}[[Category:Wrong | + | | align="right"| <b>Count :</b> || {{#if:{{{RCount|}}}|{{#ifeq:{{{RCount|}}}|{{#var:_cnt}}|{{{RCount}}}|{{Alert|Attention!|Parameter RCount={{{RCount}}} differs from counting={{#var:_cnt}}}}[[Category:Wrong XCount]]}}|{{Alert|Attention!|Parameter RCount={{#var:_cnt}} not given!}}}} |
|- | |- | ||
| align="right"| <b>Nash :</b> || {{{RNash}}} | | align="right"| <b>Nash :</b> || {{{RNash}}} | ||
|- | |- | ||
− | | align="right"| <b>Max | + | | align="right"| <b>Max {{Vn}} :</b> || {{#if:{{{RMultiRes|}}}|{{#if:{{{RMaxn|}}}|{{Num|{{{RMaxn}}}}} ({{Num|{{Multi Reservation:{{{RMultiRes}}}-NMax}}}})[[Category:Riesel prime missing range|#.....{{padleft:{{{Rk}}}|5|0}}]]|{{Num|{{Multi Reservation:{{{RMultiRes}}}-NMax}}}}}}|{{#if:{{{RMaxn|}}}|{{Num|{{{RMaxn}}}}}|{{Alert|Attention!|Parameter RMaxn not given!}}}}}} |
|- | |- | ||
| align="right"| <b>Date :</b> || {{#if:{{{RMultiRes|}}}|{{#if:{{{RDate|}}}|{{{RDate}}} ({{Multi Reservation:{{{RMultiRes}}}-Date}})|{{Multi Reservation:{{{RMultiRes}}}-Date}}}}|{{{RDate}}}}} | | align="right"| <b>Date :</b> || {{#if:{{{RMultiRes|}}}|{{#if:{{{RDate|}}}|{{{RDate}}} ({{Multi Reservation:{{{RMultiRes}}}-Date}})|{{Multi Reservation:{{{RMultiRes}}}-Date}}}}|{{{RDate}}}}} |
Revision as of 07:37, 5 October 2020
Description
Template Riesel prime
Display of current data for Riesel primes k•2n-1, comments will be displayed as references at the bottom.
Prototype
{{Riesel prime |Rk= |RCount= |RNash= |RMaxn= |RDate= |RReserved= |RMultiRes= |RNlist= |RRemarks= |RSieve= }}
Parameters
- Rk: the k-value of k•2n-1
- RCount: the number of n-values given
- If no count is given, this will be automatically counted. If given and differs from automated value, a warning will be shown.
- RNash: the Nash weight
- RMaxn: highest n-value of continuous searched range (from n=1)
- RDate: last date of edit (mostly latest history entry)
- RReserved: person(s) who reserved this sequence (comma separated)
- RMultiRes: number of Template:Multi Reservation: RMaxn and RDate will be taken from there
- RNlist: list of every n-value (one per row) with comments
- RRemarks: any helpful text or links for this sequence
- RSieve: if set a zip-file can be uploaded (filename is given then) if not available; if exists file is downloadable
Categories set
In case of the following conditions special categories will be set automatically:
- If k-value is disvisible by 3 → category Riesel 3k is set
- If k-value is disvisible by 15 → category Riesel 15k is set
- If k-value is disvisible by 2145 → category Riesel 2145k is set
- If k-value is disvisible by 2805 → category Riesel 2805k is set
- If Nash-weight < 1000 → category Riesel Low weight is set
- If there are 100 n-values or more → category Riesel count 100 is set
- If RCount=0 → category Zero RCount is set
- If RCount=0 & RNash=0 & RMaxn=0 → category Riesel number is set
The category Riesel prime is set by default.
See also
Example
{{Riesel prime |Rk=19 |RCount=8 |RNash=2390 |RMaxn=20 |RDate=2019-03-01 |RReserved=Karsten Bonath,Euclid |RMultiRes= |RNlist= 2;T:ST;C:'''[[M1]]''', Near Woodall: (1+1)*2^1-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 {{Vk}}-value theses are the [[Mersenne prime]]s. |RSieve=y }}
will create:
Current data
|
|
Remarks : |
For this k-value theses are the Mersenne primes. |