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"
(prepared for other bases, templ. GP needs update) |
(example corr.) |
||
Line 22: | Line 22: | ||
:<code><nowiki>{{K-type|Riesel|36465}}</nowiki></code> will produce {{K-type|Riesel|36465}} because {{Vk}}=36465 is a multiple of 3, 15, 2145, and 2805. | :<code><nowiki>{{K-type|Riesel|36465}}</nowiki></code> will produce {{K-type|Riesel|36465}} because {{Vk}}=36465 is a multiple of 3, 15, 2145, and 2805. | ||
:<code><nowiki>{{K-type|Riesel|43}}</nowiki></code> will produce {{K-type|Riesel|43}} because {{Vk}}=43 is low weight. | :<code><nowiki>{{K-type|Riesel|43}}</nowiki></code> will produce {{K-type|Riesel|43}} because {{Vk}}=43 is low weight. | ||
− | :<code><nowiki>{{K-type|Riesel|4906|5}}</nowiki></code> will produce {{K-type|Riesel| | + | :<code><nowiki>{{K-type|Riesel|4906|5}}</nowiki></code> will produce {{K-type|Riesel|4906|5}} because of low Nash weight={{GP|Riesel prime 5 4906|RNash}}. |
[[Category:Prime collections]] | [[Category:Prime collections]] | ||
</noinclude><includeonly><span style="white-space:nowrap;"><!-- | </noinclude><includeonly><span style="white-space:nowrap;"><!-- |
Revision as of 08:47, 30 May 2024
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
- Third parameter is the base, if not given base=2 is taken
{{K-type|Riesel/Proth|<k-value>|[<base>]}}