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)
 
m
Line 30: Line 30:
 
|GFDiscoverer=Karsten Bonath
 
|GFDiscoverer=Karsten Bonath
 
|GFList=
 
|GFList=
207,1,1
+
1,1,207
207,3,1
+
3,1,207
207,3,2
+
3,2,207
 
|GFRemarks=test
 
|GFRemarks=test
 
}}
 
}}
Line 43: Line 43:
 
|GFDiscoverer=Karsten Bonath
 
|GFDiscoverer=Karsten Bonath
 
|GFList=
 
|GFList=
207,1,1
+
1,1,207
207,3,1
+
3,1,207
207,3,2
+
3,2,207
 
|GFRemarks=test
 
|GFRemarks=test
 
}}
 
}}
Line 72: Line 72:
 
{{#arraydefine:list|{{{GFList}}}|/\n/}}{{#loop:i|0|{{#arraysize:list}}
 
{{#arraydefine:list|{{{GFList}}}|/\n/}}{{#loop:i|0|{{#arraysize:list}}
 
|<nowiki />
 
|<nowiki />
*{{#vardefine:a|{{#explode:{{#arrayindex:list|{{#var:i}}}}|,|-3}}}}{{#vardefine:b|{{#explode:{{#arrayindex:list|{{#var:i}}}}|,|-2}}}}{{#vardefine:c|{{#explode:{{#arrayindex:list|{{#var:i}}}}|,|-1}}}}{{#ifeq:{{#var:b}}|1|{{DGF|{{#var:a}}}}|{{#ifeq:{{#var:c}}|1|{{DGF|{{#var:a}}|{{#var:b}}}}|{{DGF|{{#var:a}}|{{#var:b}}|{{#var:c}}}}}}}}{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Generalized Fermat number {{#var:b}} {{#var:c}}]]}}
+
*{{#vardefine:a|{{#explode:{{#arrayindex:list|{{#var:i}}}}|,|-3}}}}{{#vardefine:b|{{#explode:{{#arrayindex:list|{{#var:i}}}}|,|-2}}}}{{#vardefine:m|{{#explode:{{#arrayindex:list|{{#var:i}}}}|,|-1}}}}{{#ifeq:{{#var:a}}|1|{{DGF|{{#var:m}}}}|{{#ifeq:{{#var:b}}|1|{{DGF|{{#var:m}}|{{#var:a}}}}|{{DGF|{{#var:m}}|{{#var:a}}|{{#var:b}}}}}}}}{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Generalized Fermat number {{#var:a}} {{#var:b}}]]}}
 
}}
 
}}
 
{{#ifeq:{{NAMESPACENUMBER}}|0|<!--
 
{{#ifeq:{{NAMESPACENUMBER}}|0|<!--

Revision as of 13:41, 27 November 2020

Description

Template GF Divisor

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

Prototype

{{GF Divisor
|GFk=
|GFn=
|DFDate=
|GFDiscoverer=
|GFList=
|GFRemarks=
}}

Parameters

See also

Example

{{GF Divisor
|GFk=3
|GFn=209
|GFDate=2020-11-11
|GFDiscoverer=Karsten Bonath
|GFList=
1,1,207
3,1,207
3,2,207
|GFRemarks=test
}}

will create:

Current data

Number : Proth 3•2209+1
Remarks :
test

Divides