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

From Prime-Wiki
Jump to: navigation, search
(leading space removed)
m
Line 17: Line 17:
  
 
Proth prime example:
 
Proth prime example:
*<nowiki>{{GNn|Proth prime 3|49}}</nowiki> results in
+
*<nowiki>{{GNn|Proth prime 2 3|49}}</nowiki> results in
:"{{GNn|Proth prime 3|49}}"
+
:"{{GNn|Proth prime 2 3|49}}"
  
 
<index> is greater than possible value:
 
<index> is greater than possible value:

Revision as of 10:50, 13 July 2021

Description

Get a specific n-value of a template by name if exists, "" (null) otherwise.

  • Just only for Riesel or Proth primes by now!

Call

{{GNn|<prime name>|<index>}}

Examples

Get the 17th n-value from "Riesel prime 1" primes:

  • {{GNn|Riesel prime 1|17}} results in
""

100th prime of Riesel prime k=465:

  • {{GNn|Riesel prime 465|100}} results in
""

Proth prime example:

  • {{GNn|Proth prime 2 3|49}} results in
"10829346"

<index> is greater than possible value:

  • {{GNn|Riesel prime 465|200}} results in
""