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"
(template Vn) |
m |
||
Line 24: | Line 24: | ||
will produce | will produce | ||
:{{K-type|Riesel|8415}} | :{{K-type|Riesel|8415}} | ||
− | because | + | because {{Vk}}=8415 is a multiple of 3, 15 and 2805. |
[[Category:Prime collections]] | [[Category:Prime collections]] | ||
</noinclude><includeonly><div style="white-space:nowrap">{{#ifexpr:{{{2}}} mod 3||<div style="width:1.6em; text-align: center; background:HotPink; display:inline-block;" title="3k">[[{{{1}}} k=3k value|3]]</div>}}<!-- | </noinclude><includeonly><div style="white-space:nowrap">{{#ifexpr:{{{2}}} mod 3||<div style="width:1.6em; text-align: center; background:HotPink; display:inline-block;" title="3k">[[{{{1}}} k=3k value|3]]</div>}}<!-- |
Revision as of 21:20, 23 June 2021
Contents
Purpose
Prints the type of a Riesel/Proth k-value with linked category.
Definitions
- 3: 3k value (k is a multiple of 3)
- 15: 15k value (k is a multiple of 15)
- 2145: 2145k value (k is a multiple of 2145)
- 2805: 2805k value (k is a multiple of 2805)
- Low: Low Nash value (Nash weight < 1000)
Calling
- First unnamed parameter is the type: Riesel or Proth
- Second parameter is the k-value
{{K-type|Riesel/Proth|<k-value>}}
Example
{{K-type|Riesel|8415}}
will produce
because k=8415 is a multiple of 3, 15 and 2805.