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:Generalized Fermat number"

From Prime-Wiki
Jump to: navigation, search
(print 'found' only if finder given)
(shorter a b n)
Line 64: Line 64:
 
| class="primetemplate color-PrimeTemplate" |
 
| class="primetemplate color-PrimeTemplate" |
 
  {|
 
  {|
   | align="right"| <b>{{V|a}} :</b> || {{{GFNa}}}
+
   | align="right"| <b>{{V|a}} {{Vb}} {{Vn}} :</b> || {{{GFNa}}} {{{GFNb}}} {{{GFNn}}}
 +
<!--  |-
 +
  | align="right"| <b>{{Vb}} :</b> || {{{GFNb}}}
 
   |-
 
   |-
   | align="right"| <b>{{V|b}} :</b> || {{{GFNb}}}
+
   | align="right"| <b>{{Vn}} :</b> || {{{GFNn}}}-->
  |-
 
  | align="right"| <b>{{Vn}} :</b> || {{{GFNn}}}
 
 
   |-
 
   |-
 
   {{!}} align="right"{{!}} <b>Number :</b> {{!}}{{!}} {{#ifeq:{{{GFNb}}}|1|{{#ifeq:{{{GFNa}}}|2|{{NGF|{{{GFNn}}}}}|{{NGF|{{{GFNa}}}|{{{GFNn}}}}}}}|{{NGF|{{{GFNa}}}|{{{GFNb}}}|{{{GFNn}}}}}}} {{#if:{{{GFNFDBid}}}|([http://factordb.com/index.php?id={{{GFNFDBid}}} FactorDB])}}
 
   {{!}} align="right"{{!}} <b>Number :</b> {{!}}{{!}} {{#ifeq:{{{GFNb}}}|1|{{#ifeq:{{{GFNa}}}|2|{{NGF|{{{GFNn}}}}}|{{NGF|{{{GFNa}}}|{{{GFNn}}}}}}}|{{NGF|{{{GFNa}}}|{{{GFNb}}}|{{{GFNn}}}}}}} {{#if:{{{GFNFDBid}}}|([http://factordb.com/index.php?id={{{GFNFDBid}}} FactorDB])}}

Revision as of 21:30, 23 June 2021

Description

Template Generalized Fermat number

Collect the data of a Generalized Fermat number (for b=1 this is a Fermat number).

Prototype

{{Generalized Fermat number
|GFNa=
|GFNb=
|GFNn=
|GFNFDBid=
|GFNDigits=
|GFNFactors=
|GFNState=
|GFNRemarks=
}}

Parameters

See also

Example

{{Generalized Fermat number
|GFNa=2
|GFNb=1
|GFNn=207
|GFNFDBid=1000000000002000017
|GFNDigits=1234
|GFNFactors=
2
3,41
7,14
17353230210429594579133099699123162989482444520899,15
P345
C1133,1100000000212123761
|GFNState=Composite
|GFNRemarks=test
}}

will create:

Current data

a b n : 2 1 207
FactorDB : ID: 1000000000002000017 / Formula: 22207+1
Digits : 1234
State : ERR
Remarks :
test

Factors

Factorization

2 * 6597069766657<13> * 114689 * 17353230210429594579133099699123162989482444520899 * P<345> * C<1133>