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:K-type"
(new) |
(calling+example) |
||
Line 8: | Line 8: | ||
*<div style="width:1.2em; text-align: center; background:GreenYellow; display:inline-block;" title="2805k">[[:Category:Riesel k=2805k value|8]]</div>: 2805k value (k is a multiple of 2805) | *<div style="width:1.2em; text-align: center; background:GreenYellow; display:inline-block;" title="2805k">[[:Category:Riesel k=2805k value|8]]</div>: 2805k value (k is a multiple of 2805) | ||
*<div style="width:1.2em; text-align: center; background:Cyan; display:inline-block;" title="Low weight">[[:Category:Riesel k=Low weight|L]]</div>: Low Nash value (Nash < 1000) | *<div style="width:1.2em; text-align: center; background:Cyan; display:inline-block;" title="Low weight">[[:Category:Riesel k=Low weight|L]]</div>: Low Nash value (Nash < 1000) | ||
+ | |||
+ | ==Calling== | ||
+ | First unnamed parameter is the k-value. | ||
+ | <pre> | ||
+ | {{Riesel k-type|<k-value>}} | ||
+ | </pre> | ||
+ | |||
+ | ==Example== | ||
+ | <pre> | ||
+ | {{Riesel k-type|8415}} | ||
+ | </pre> | ||
+ | will produce | ||
+ | :{{Riesel k-type|8415}} | ||
+ | because k=8415 is a multiple of 15 and 2805. | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude><includeonly>{{#ifexpr:{{{1}}} mod 15||<div style="width:1.2em; text-align: center; background:Pink; display:inline-block;" title="15k">[[:Category:Riesel k=15k value|1]]</div>}}<!-- | </noinclude><includeonly>{{#ifexpr:{{{1}}} mod 15||<div style="width:1.2em; text-align: center; background:Pink; display:inline-block;" title="15k">[[:Category:Riesel k=15k value|1]]</div>}}<!-- |
Revision as of 10:56, 28 March 2019
Contents
Purpose
Prints the type of a Riesel k-value with linked category.
Definitions
- : 15k value (k is a multiple of 15)
- : 2145k value (k is a multiple of 2145)
- : 2805k value (k is a multiple of 2805)
- : Low Nash value (Nash < 1000)
Calling
First unnamed parameter is the k-value.
{{Riesel k-type|<k-value>}}
Example
{{Riesel k-type|8415}}
will produce
because k=8415 is a multiple of 15 and 2805.