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 |
Template:NWi
Purpose
Displays Williams primes (b±1)*bn±1 with link to the page.
Usage
This template uses three unnamed parameters which are defined as follows:
- first parameter: the type of Williams prime, has to be one of: MM, PM, MP or PP
- representing the signs as: first M/P is (base±1) as factor, second M/P is ±1 at the end
- second parameter: the base
- third parameter: a special n-value or 'n'
Examples
{{NWi|MM|17|123}}
: Williams 16•17123-1{{NWi|PM|2|123}}
: Williams 3•2123-1{{NWi|MP|12|n}}
: Williams 11•12n+1{{NWi|PP|33|n}}
: Williams 34•33n+1