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"

From Prime-Wiki
Jump to: navigation, search
m (Karbon moved page Template:Riesel k-type to Template:K-type without leaving a redirect: name)
(naming changed)
Line 14: Line 14:
 
*Second parameter is the k-value
 
*Second parameter is the k-value
 
<pre>
 
<pre>
{{Riesel k-type|Riesel/Proth|<k-value>}}
+
{{K-type|Riesel/Proth|<k-value>}}
 
</pre>
 
</pre>
  
 
==Example==
 
==Example==
 
<pre>
 
<pre>
{{Riesel k-type|Riesel|8415}}
+
{{K-type|Riesel|8415}}
 
</pre>
 
</pre>
 
will produce
 
will produce
:{{Riesel k-type|Riesel|8415}}
+
:{{K-type|Riesel|8415}}
 
because k=8415 is a multiple of 15 and 2805.
 
because k=8415 is a multiple of 15 and 2805.
 
[[Category:Prime collections]]
 
[[Category:Prime collections]]

Revision as of 01:38, 19 April 2019

Purpose

Prints the type of a Riesel/Proth k-value with linked category.

Definitions

  • 1
    : 15k value (k is a multiple of 15)
  • 2
    : 2145k value (k is a multiple of 2145)
  • 8
    : 2805k value (k is a multiple of 2805)
  • L
    : Low Nash value (Nash < 1000)
  • R
    : Riesel number (only on Riesel-side)

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

3152805

because k=8415 is a multiple of 15 and 2805.