Navigation
Topics  Register • News • History • How to • Template prototypes 
Difference between revisions of "Template:DGF"
(new) 
(No difference)

Latest revision as of 10:36, 1 July 2020
Purpose
Displays a short form of a Generalized Fermat number of the form a^{2n} + b^{2n} (if b=1 : a^{2n} + 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 nvalue is given and displays as Fermat number 2^{2n}+1: F(n)
 two parameters: the a and nvalues are given and display as Generalized Fermat number a^{2n}+1: GF(a,n)
 three parameters: the a, b and nvalues given and display as Extended Generalized Fermat number a^{2n} + b^{2n}: xGF(a,b,n)
Examples
{{DGF123}}
: F(123){{DGF3123}}
: GF(3,123){{DGF53123}}
: xGF(5,3,123)