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:Proth prime"

From Prime-Wiki
Jump to: navigation, search
m
(cat. for Proth k=3k)
Line 95: Line 95:
 
}}
 
}}
 
{{#ifeq:{{NAMESPACENUMBER}}|0|<!--
 
{{#ifeq:{{NAMESPACENUMBER}}|0|<!--
 +
-->{{#ifexpr:{{{Pk}}} mod 3||[[Category:Proth k=3k value|#.....{{padleft:{{{Pk}}}|5|0}}]]}}<!--
 
-->{{#ifexpr:{{{Pk}}} mod 15||[[Category:Proth k=15k value|#.....{{padleft:{{{Pk}}}|5|0}}]]}}<!--
 
-->{{#ifexpr:{{{Pk}}} mod 15||[[Category:Proth k=15k value|#.....{{padleft:{{{Pk}}}|5|0}}]]}}<!--
 
-->{{#ifexpr:{{{Pk}}} mod 2145||[[Category:Proth k=2145k value|#.....{{padleft:{{{Pk}}}|5|0}}]]}}<!--
 
-->{{#ifexpr:{{{Pk}}} mod 2145||[[Category:Proth k=2145k value|#.....{{padleft:{{{Pk}}}|5|0}}]]}}<!--

Revision as of 16:58, 2 September 2020

Description

Template Proth prime

Display of current data for Proth primes, comments will be displayed as references at the bottom.

Prototype

{{Proth prime
|Pk=
|PNash=
|PMaxn=
|PDate=
|PReserved=
|PMultiRes=
|PNlist=
|PRemarks=
}}

Explanations

In case of the following conditions special categories will be set automatically:

  • k-value is disvisible by 15 → category Proth 15k is set
  • k-value is disvisible by 2145 → category Proth 2145k is set
  • k-value is disvisible by 2805 → category Proth 2805k is set
  • Nash-weight < 1000 → category Proth Low weight is set

The category Proth prime is set by default.

If "PMultiRes" is set, the parameters "PMaxn", "PDate" and "PReserved" (if given) will be ignored and replaced by the data from the Multi Reservation with ID given.

See also

Example

{{Proth prime
|Pk=15
|PNash=239
|PMaxn=20
|PDate=2019-03-01
|PReserved=Karsten Bonath
|PMultiRes=
|PNlist=
2;T:ST;C: Testtext
3;T:SW;C:[[Examples]]
5;C:'''Example'''
15;43912;C:with Top5000 entry
|PRemarks=For this ''k''-value theses are the [[Fermat prime]]s.
}}

will create:

Current data

k , b : 15 , {{{Pb}}}
Count :
Attention! Parameter PCount=4 not given!
Nash : 239
Max n : 20
Date : 2019-03-01
Reserved : Karsten Bonath
2[1], 3[2], 5[3], 15[4]
Remarks :
For this k-value theses are the Fermat primes.

Notes

  1. S.G. n=2, Twin n=2, Testtext
  2. S.G. n=3, Woodall, Examples
  3. Example
  4. with Top5000 entry