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:GF Divisor"

From Prime-Wiki
Jump to: navigation, search
(new cat.)
m
 
(2 intermediate revisions by the same user not shown)
Line 52: Line 52:
 
| class="primetemplate color-PrimeTemplate" |
 
| class="primetemplate color-PrimeTemplate" |
 
  {|
 
  {|
   | align="right"| <b>Number :</b> || {{#ifeq:{{#var:ln}}|1|{{Kbn|+|{{Long number:{{{GFk}}}-NS}}<sub><{{Long number:{{{GFk}}}-DI}}></sub>|{{{GFn}}}}} (&rarr; [[:Long number:{{{GFk}}}|Long number]])|{{NPr|{{{GFk}}}|{{{GFn}}}}}}}
+
   | align="right"| <b>Number :</b> || {{#ifeq:{{#var:ln}}|1|{{NPr|{{Long number:{{{GFk}}}-NS}}({{Long number:{{{GFk}}}-DI}})|{{{GFn}}}}} (&rarr; [[:Long number:{{{GFk}}}|Long number]])|{{NPr|{{{GFk}}}|{{{GFn}}}}}}}
 
   |-
 
   |-
 
{{#if:{{{GFNumber|}}}|
 
{{#if:{{{GFNumber|}}}|
Line 85: Line 85:
 
-->{{#ifeq:{{#var:a}}|2|{{#ifeq:{{#var:b}}|1|{{DGF|{{#var:m}}}}|{{DGF|{{#var:m}}|{{#var:a}}|{{#var:b}}}}}}|{{#ifeq:{{#var:b}}|1|{{DGF|{{#var:m}}|{{#var:a}}}}|{{DGF|{{#var:m}}|{{#var:a}}|{{#var:b}}}}}}}}<!--
 
-->{{#ifeq:{{#var:a}}|2|{{#ifeq:{{#var:b}}|1|{{DGF|{{#var:m}}}}|{{DGF|{{#var:m}}|{{#var:a}}|{{#var:b}}}}}}|{{#ifeq:{{#var:b}}|1|{{DGF|{{#var:m}}|{{#var:a}}}}|{{DGF|{{#var:m}}|{{#var:a}}|{{#var:b}}}}}}}}<!--
 
-->{{#if:{{#var:dat}}|, found {{#var:dat}} by&#32;}}{{Contribs|{{#explode:{{#arrayindex:list|{{#var:i}}}}|#|2}}}}<!--
 
-->{{#if:{{#var:dat}}|, found {{#var:dat}} by&#32;}}{{Contribs|{{#explode:{{#arrayindex:list|{{#var:i}}}}|#|2}}}}<!--
-->{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:GF Divisors]][[Category:Generalized Fermat number {{#var:a}} {{#var:b}} Divs]][[Category:Generalized Fermat number diffs {{#var:a}} {{#var:b}} {{#expr:{{{GFn}}}-{{#var:m}}}}]]}}
+
-->{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:GF Divisors|#.....{{padleft:{{GetLength|{{PAGENAME}}}}|5|0}}]][[Category:Generalized Fermat number {{#var:a}} {{#var:b}} Divs|#.....{{padleft:{{GetLength|{{PAGENAME}}}}|5|0}}]][[Category:Generalized Fermat number diffs {{#var:a}} {{#var:b}} {{#expr:{{{GFn}}}-{{#var:m}}}}|#.....{{padleft:{{GetLength|{{PAGENAME}}}}|5|0}}]]}}
 
}}
 
}}
 
</includeonly>
 
</includeonly>

Latest revision as of 09:55, 16 September 2021

Description

Template GF Divisor

Collect the Generalized Fermat numbers for which a given Proth prime is a divisor.

Prototype

{{GF Divisor
|GFk=
|GFn=
|GFNumber=
|GFFDBid=
|GFList=
|GFRemarks=
}}

Parameters

See also

Example

{{GF Divisor
|GFk=3
|GFn=209
|GFNumber=2468256835981809063232453773836025757474103798450369795022913537
|GFFDBid=1000000000002010233
|GFList=
2,1,207#2020-11-11#Hans Riesel,Ray Ballinger,David Broadhurst,(bigger team)
3,1,207#1995#Allan Cunningham
3,2,207
|GFRemarks=test
}}

will create:

Current data

Number : Proth 3•2209+1
Decimals : 2468256835981809063232453773836025757474103798450369795022913537<64>
FactorDB : ID: 1000000000002010233 / Formula: 3*2^209+1
Remarks :
test

Divides