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"
(base included) |
(categorize for Riesel problem 4) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 47: | Line 47: | ||
*If there are 100 {{Vn}}-values or more → category [[:Category:Riesel 2 Count-100|Riesel Count 100]] is set | *If there are 100 {{Vn}}-values or more → category [[:Category:Riesel 2 Count-100|Riesel Count 100]] is set | ||
*If RCount=0 → category [[:Category:Riesel 2 Count-0|Riesel Count 0]] is set | *If RCount=0 → category [[:Category:Riesel 2 Count-0|Riesel Count 0]] is set | ||
+ | *According to the {{Vk}}-value the corresponding category is set to the [[:Category:Riesel_prime_conjectures|Riesel problem]]. | ||
The category [[:Category:Riesel prime|Riesel prime]] for base {{Vb}} is set by default. | The category [[:Category:Riesel prime|Riesel prime]] for base {{Vb}} is set by default. | ||
Line 56: | Line 57: | ||
<pre> | <pre> | ||
{{Riesel prime | {{Riesel prime | ||
− | |Rk= | + | |Rk=15 |
|Rb=2 | |Rb=2 | ||
|RCount=8 | |RCount=8 | ||
Line 79: | Line 80: | ||
will create: | will create: | ||
{{Riesel prime | {{Riesel prime | ||
− | |Rk= | + | |Rk=15 |
|Rb=2 | |Rb=2 | ||
|RCount=8 | |RCount=8 | ||
Line 108: | Line 109: | ||
| class="primetemplate color-PrimeTemplate" | | | class="primetemplate color-PrimeTemplate" | | ||
{| | {| | ||
− | | align="right"| <b>{{Vk}} :</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>{{Vk}} , {{Vb}} :</b> || {{{Rk}}} , {{{Rb}}} {{#if:{{{RSieve|}}}|{{#ifexist:File:{{PAGENAME}} sieve.zip| ([[:File:{{PAGENAME}} sieve.zip|sieve]])|[[File:{{PAGENAME}} sieve.zip|Upload me!]]}}}} |
− | + | {{#ifeq:{{{Rb}}}|2|{{#if:{{{Rk|}}}|{{#ifeq:{{#var:_ris}}|0|{{#vardefine:ktype|{{K-type|Riesel|{{{Rk}}}}}}}{{#if:{{#pos:{{#var:ktype}}|center}}| | |
− | + | {{!}}- | |
+ | {{!}} align="right"{{!}} <b>Type :</b> {{!}}{{!}} {{#var:ktype}} | ||
+ | }}}}}}}} | ||
|- | |- | ||
| 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>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!}}}} | ||
Line 155: | Line 158: | ||
-->{{#ifexist:{{PAGENAME}}|{{#ifexpr:{{{Rk}}}<509203|{{#if:{{{RCount|}}}|{{#ifexpr:{{{RCount}}}>0|[[Category:Riesel 2 1Intervals{{Exponent interval|{{GNn|{{PAGENAME}}|1}}}}|#.....{{padleft:{{{Rk}}}|5|0}}]]}}}}}}}}<!-- | -->{{#ifexist:{{PAGENAME}}|{{#ifexpr:{{{Rk}}}<509203|{{#if:{{{RCount|}}}|{{#ifexpr:{{{RCount}}}>0|[[Category:Riesel 2 1Intervals{{Exponent interval|{{GNn|{{PAGENAME}}|1}}}}|#.....{{padleft:{{{Rk}}}|5|0}}]]}}}}}}}}<!-- | ||
-->{{#ifexist:{{PAGENAME}}|{{#ifexpr:{{{Rk}}}>509203|{{#ifexpr:{{{Rk}}}<762701|{{#if:{{{RCount|}}}|{{#ifexpr:{{{RCount}}}>0|[[Category:Riesel 2 2Intervals{{Exponent interval|{{GNn|{{PAGENAME}}|1}}}}|#.....{{padleft:{{{Rk}}}|5|0}}]]}}}}}}}}}}<!-- | -->{{#ifexist:{{PAGENAME}}|{{#ifexpr:{{{Rk}}}>509203|{{#ifexpr:{{{Rk}}}<762701|{{#if:{{{RCount|}}}|{{#ifexpr:{{{RCount}}}>0|[[Category:Riesel 2 2Intervals{{Exponent interval|{{GNn|{{PAGENAME}}|1}}}}|#.....{{padleft:{{{Rk}}}|5|0}}]]}}}}}}}}}}<!-- | ||
+ | -->{{#ifexist:{{PAGENAME}}|{{#ifexpr:{{{Rk}}}>762701|{{#ifexpr:{{{Rk}}}<777149|{{#if:{{{RCount|}}}|{{#ifexpr:{{{RCount}}}>0|[[Category:Riesel 2 3Intervals{{Exponent interval|{{GNn|{{PAGENAME}}|1}}}}|#.....{{padleft:{{{Rk}}}|5|0}}]]}}}}}}}}}}<!-- | ||
+ | -->{{#ifexist:{{PAGENAME}}|{{#ifexpr:{{{Rk}}}>777149|{{#ifexpr:{{{Rk}}}<790841|{{#if:{{{RCount|}}}|{{#ifexpr:{{{RCount}}}>0|[[Category:Riesel 2 4Intervals{{Exponent interval|{{GNn|{{PAGENAME}}|1}}}}|#.....{{padleft:{{{Rk}}}|5|0}}]]}}}}}}}}}}<!-- | ||
-->{{#ifexpr:{{{Rk}}} mod 3||{{#if:{{#pos:{{{RNlist}}}|T:S}}{{#pos:{{{RNlist}}}|T:CS}}||[[Category:Riesel 2 no-SG|#.....{{padleft:{{{Rk}}}|5|0}}]]}}}}<!-- | -->{{#ifexpr:{{{Rk}}} mod 3||{{#if:{{#pos:{{{RNlist}}}|T:S}}{{#pos:{{{RNlist}}}|T:CS}}||[[Category:Riesel 2 no-SG|#.....{{padleft:{{{Rk}}}|5|0}}]]}}}}<!-- | ||
-->{{#ifexpr:{{{Rk}}} mod 3||{{#if:{{#pos:{{{RNlist}}}|T:T}}{{#pos:{{{RNlist}}}|T:ST}}{{#pos:{{{RNlist}}}|T:CT}}{{#pos:{{{RNlist}}}|T:CST}}||[[Category:Riesel 2 no-twin|#.....{{padleft:{{{Rk}}}|5|0}}]]}}}}<!-- | -->{{#ifexpr:{{{Rk}}} mod 3||{{#if:{{#pos:{{{RNlist}}}|T:T}}{{#pos:{{{RNlist}}}|T:ST}}{{#pos:{{{RNlist}}}|T:CT}}{{#pos:{{{RNlist}}}|T:CST}}||[[Category:Riesel 2 no-twin|#.....{{padleft:{{{Rk}}}|5|0}}]]}}}}<!-- | ||
+ | -->{{#ifexpr:{{{Rk}}} mod 3||[[Category:Riesel {{{Rb}}} 3k-value|#.....{{padleft:{{{Rk}}}|5|0}}]]}}<!-- | ||
+ | -->{{#ifexpr:{{{Rk}}} mod 15||[[Category:Riesel {{{Rb}}} 15k-value|#.....{{padleft:{{{Rk}}}|5|0}}]]}}<!-- | ||
+ | -->{{#ifexpr:{{{Rk}}} mod 2145||[[Category:Riesel {{{Rb}}} 2145k-value|#.....{{padleft:{{{Rk}}}|5|0}}]]}}<!-- | ||
+ | -->{{#ifexpr:{{{Rk}}} mod 2805||[[Category:Riesel {{{Rb}}} 2805k-value|#.....{{padleft:{{{Rk}}}|5|0}}]]}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
− | |||
− | |||
− | |||
− | |||
-->{{#ifeq:{{#var:_ris}}|0|{{#ifexpr:{{{RNash}}}<1000|[[Category:Riesel {{{Rb}}} Low-weight|#.....{{padleft:{{{Rk}}}|5|0}}]]}}}}<!-- | -->{{#ifeq:{{#var:_ris}}|0|{{#ifexpr:{{{RNash}}}<1000|[[Category:Riesel {{{Rb}}} Low-weight|#.....{{padleft:{{{Rk}}}|5|0}}]]}}}}<!-- |
Latest revision as of 11:05, 25 March 2024
Description
Template Riesel prime
Display of current data for Riesel primes k•bn-1, comments will be displayed as references at the bottom.
Prototype
{{Riesel prime |Rk= |Rb= |RCount= |RNash= |RMaxn= |RDate= |RReserved= |RMultiRes= |RNlist= |RRemarks= |RSieve= }}
Parameters
- Rk: the k-value of k•bn-1
- Rb: the b-value of k•bn-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
- 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 (b = 2 only)::
- 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 RCount=0 & RNash=0 & RMaxn=0 → category Riesel number is set
Any base (here given for base 2 only):
- 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 Riesel Count 0 is set
- According to the k-value the corresponding category is set to the Riesel problem.
The category Riesel prime for base b is set by default.
See also
Example
{{Riesel prime |Rk=15 |Rb=2 |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= }}
will create:
Current data
|
|
Remarks : |
For this k-value theses are the Mersenne primes. |