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"
(MultiRes categorized) |
(k-ranges categorized) |
||
Line 103: | Line 103: | ||
-->{{#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}}]]}}<!-- | ||
-->{{#ifexpr:{{{Rk}}} mod 2805||[[Category:Riesel k=2805k value|#.....{{padleft:{{{Rk}}}|5|0}}]]}}<!-- | -->{{#ifexpr:{{{Rk}}} mod 2805||[[Category:Riesel k=2805k value|#.....{{padleft:{{{Rk}}}|5|0}}]]}}<!-- | ||
+ | |||
+ | -->{{#ifexpr:{{{Rk}}} < 300|[[Category:Riesel k=1-300|#.....{{padleft:{{{Rk}}}|5|0}}]]}}<!-- | ||
+ | -->{{#ifexpr:{{{Rk}}} > 300|{{#ifexpr:{{{Rk}}} < 2000|[[Category:Riesel k=300-2000|#.....{{padleft:{{{Rk}}}|5|0}}]]}}}}<!-- | ||
+ | -->{{#ifexpr:{{{Rk}}} > 2000|{{#ifexpr:{{{Rk}}} < 4000|[[Category:Riesel k=2000-4000|#.....{{padleft:{{{Rk}}}|5|0}}]]}}}}<!-- | ||
+ | -->{{#ifexpr:{{{Rk}}} > 4000|{{#ifexpr:{{{Rk}}} < 6000|[[Category:Riesel k=4000-4000|#.....{{padleft:{{{Rk}}}|5|0}}]]}}}}<!-- | ||
+ | -->{{#ifexpr:{{{Rk}}} > 6000|{{#ifexpr:{{{Rk}}} < 8000|[[Category:Riesel k=6000-8000|#.....{{padleft:{{{Rk}}}|5|0}}]]}}}}<!-- | ||
+ | -->{{#ifexpr:{{{Rk}}} > 8000|{{#ifexpr:{{{Rk}}} < 10000|[[Category:Riesel k=8000-10000|#.....{{padleft:{{{Rk}}}|5|0}}]]}}}}<!-- | ||
+ | -->{{#ifexpr:{{{Rk}}} > 10000|{{#ifexpr:{{{Rk}}} < 100000|[[Category:Riesel k=10e4-10e5|#.....{{padleft:{{{Rk}}}|5|0}}]]}}}}<!-- | ||
+ | -->{{#ifexpr:{{{Rk}}} > 100000|{{#ifexpr:{{{Rk}}} < 1000000|[[Category:Riesel k=10e5-10e6|#.....{{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}}]]}}<!-- |
Revision as of 09:12, 19 February 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= }}
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 |RNash=2390 |RMaxn=20 |RDate=2019-03-01 |RReserved=Karsten Bonath |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. }}
will create:
Current data
|
|
Remarks : |
For this k-value theses are the Mersenne primes. |