Navigation
Topics Register • News • History • How to • Template prototypes

Template:GNn

From Prime-Wiki
Jump to: navigation, search

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
"2281"

100th prime of Riesel prime k=465:

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

Proth prime example:

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

<index> is greater than possible value:

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