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
(more param & checks)
(class)
Line 91: Line 91:
 
==Current data==
 
==Current data==
 
{| class="primedata"
 
{| class="primedata"
| class="primetemplate" |
+
| class="primetemplate color-PrimeTemplate" |
 
  {|  
 
  {|  
 
   | align="right"| <b>{{Vk}}-value :</b> || {{{Pk}}}<!--{{#if:{{{CKSieve|}}}|&nbsp;([[:File:{{PAGENAME}} sieve.zip|sieve]])|}}--> {{K-type|Proth|{{{Pk}}}}}
 
   | align="right"| <b>{{Vk}}-value :</b> || {{{Pk}}}<!--{{#if:{{{CKSieve|}}}|&nbsp;([[:File:{{PAGENAME}} sieve.zip|sieve]])|}}--> {{K-type|Proth|{{{Pk}}}}}
Line 114: Line 114:
 
{{#if:{{{PRemarks|}}}|
 
{{#if:{{{PRemarks|}}}|
 
{{{!}}  
 
{{{!}}  
{{!}} <div height="120%" style="background-color:SkyBlue;"><b>Remarks : </b></div> {{!}}{{!}} {{{PRemarks}}}
+
{{!}} <div height="120%" class="color-PrimeTemplate"><b>Remarks : </b></div> {{!}}{{!}} {{{PRemarks}}}
 
{{!}}}
 
{{!}}}
 
}}
 
}}

Revision as of 02:05, 17 May 2021

Description

Template Proth prime

Display of current data for Proth primes k•2n+1, comments will be displayed as references at the bottom.

Prototype

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

Parameters

  • Pk: the k-value of k•2n+1
  • PCount: the number of n-values given
If no count is given, this will be automatically counted. If given and differs from automated value, a warning will be shown.
  • PNash: the Nash weight
  • PMaxn: highest n-value of continuous searched range (from n=1)
  • PDate: last date of edit (mostly latest history entry)
  • PReserved: person(s) who reserved this sequence (comma separated)
  • PMultiRes: number of Template:Multi Reservation: PMaxn and PDate will be taken from there
  • PNlist: list of every n-value (one per row) with comments
  • PRemarks: any helpful text or links for this sequence
  • PSieve: if set a zip-file can be uploaded (filename is given then) if not available; if exists file is downloadable


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
|PCount=4
|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 {{Vk}}-value these are the [[Fermat prime]]s.
|PSieve=y
}}

will create:

Current data

k , b : 15 , {{{Pb}}} Upload me!
Type : 315
Count : 4
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 these are the Fermat primes.

Notes

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