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:DGF
Purpose
Displays a short form of a Generalized Fermat number of the form a2n + b2n (if b=1 : a2n + 1) with link to the page.
Usage
This template uses one to three unnamed parameters which are defined as follows:
{{DGF|<value>|<value>|<value>}}
- one parameter: the n-value is given and displays as Fermat number 22n+1: F(n)
- two parameters: the a- and n-values are given and display as Generalized Fermat number a2n+1: GF(a,n)
- three parameters: the a-, b- and n-values given and display as Extended Generalized Fermat number a2n + b2n: xGF(a,b,n)
Examples
{{DGF|123}}
: F(123){{DGF|3|123}}
: GF(3,123){{DGF|5|3|123}}
: xGF(5,3,123)