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:NRi"

From Prime-Wiki
Jump to: navigation, search
(use <var>)
(name Gen. -> Gen)
Line 18: Line 18:
 
|1=[[Riesel prime 1|Mersenne {{Kbn|{{{1}}}}}]]
 
|1=[[Riesel prime 1|Mersenne {{Kbn|{{{1}}}}}]]
 
|2=[[Riesel prime {{{1}}}|Riesel {{Kbn|{{{1}}}|{{{2}}}}}]]
 
|2=[[Riesel prime {{{1}}}|Riesel {{Kbn|{{{1}}}|{{{2}}}}}]]
|3=[[Riesel prime {{{2}}} {{{1}}}|Gen. Riesel {{Kbn|{{{1}}}|{{{2}}}|{{{3}}}}}]]}}</includeonly>
+
|3=[[Riesel prime {{{2}}} {{{1}}}|Gen Riesel {{Kbn|{{{1}}}|{{{2}}}|{{{3}}}}}]]}}</includeonly>

Revision as of 09:37, 2 November 2020

Purpose

Displays a Riesel number of the form kbn-1 with link to the page.

Usage

This template uses one to three unnamed parameters which are defined as follows:

{{NRi|<k-value>|<base>|<n-value>}}
  • one parameter: the n-value is given and displays as Mersenne number 2n-1
  • two parameters: the k- and n-values are given and displays as Riesel number k•2n-1
  • three parameters: the k- and n-values and the base b given and displays as Riesel number kbn-1

Examples