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 |
(upload me + parameters) |
||
Line 20: | Line 20: | ||
}} | }} | ||
</pre> | </pre> | ||
+ | |||
+ | ==Parameters== | ||
+ | *'''Rk:''' the k-value of {{Kbn|k|2|n}} | ||
+ | *'''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 it's downloadable | ||
==Categories set== | ==Categories set== | ||
Line 27: | Line 40: | ||
*k-value is disvisible by 2805 → category [[:Category:Riesel k=2805k value|Riesel 2805k]] is set | *k-value is disvisible by 2805 → category [[:Category:Riesel k=2805k value|Riesel 2805k]] is set | ||
*Nash-weight < 1000 → category [[:Category:Riesel k=Low weight|Riesel Low weight]] is set | *Nash-weight < 1000 → category [[:Category:Riesel k=Low weight|Riesel Low weight]] is set | ||
+ | *if there are 100 n-values or more category [[:Category:Riesel count 100|Riesel count 100]] is set | ||
*remarks contain "Riesel" → category [[:Category:Riesel k=Riesel|Riesel number]] is set | *remarks contain "Riesel" → category [[:Category:Riesel k=Riesel|Riesel number]] is set | ||
Line 83: | Line 97: | ||
| class="primetemplate" | | | class="primetemplate" | | ||
{| | {| | ||
− | | 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|}}}|{{#ifexist:File:{{PAGENAME}} sieve.zip| ([[:File:{{PAGENAME}} sieve.zip|sieve]])|[[File:{{PAGENAME}} sieve.zip|Upload me!]]}}}} {{#if:{{{Rk|}}}|{{K-type|Riesel|{{{Rk}}}}}}} |
|- | |- | ||
| align="right"| <b>Count :</b> || {{#if:{{{RCount|}}}|{{{RCount}}}|{{#var:_cnt}}}} | | align="right"| <b>Count :</b> || {{#if:{{{RCount|}}}|{{{RCount}}}|{{#var:_cnt}}}} |
Revision as of 21:07, 25 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= }}
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 it's downloadable
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
- if there are 100 n-values or more category Riesel count 100 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=8 |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. |