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"
m |
(ranges for k-values) |
||
Line 132: | Line 132: | ||
-->[[Category:Proth {{{Pb}}}|#.....{{padleft:{{{Pk}}}|5|0}}]]<!-- | -->[[Category:Proth {{{Pb}}}|#.....{{padleft:{{{Pk}}}|5|0}}]]<!-- | ||
-->{{#ifeq:{{{Pb}}}|2|<!-- | -->{{#ifeq:{{{Pb}}}|2|<!-- | ||
+ | -->{{#ifexpr:{{{Pk}}} < 300|[[Category:Proth 2 1-300|#.....{{padleft:{{{Pk}}}|5|0}}]]}}<!-- | ||
+ | -->{{#ifexpr:{{{Pk}}} > 300|{{#ifexpr:{{{Pk}}} < 2000|[[Category:Proth 2 300-2000|#.....{{padleft:{{{Pk}}}|5|0}}]]}}}}<!-- | ||
+ | -->{{#ifexpr:{{{Pk}}} > 2000|{{#ifexpr:{{{Pk}}} < 4000|[[Category:Proth 2 2000-4000|#.....{{padleft:{{{Pk}}}|5|0}}]]}}}}<!-- | ||
+ | -->{{#ifexpr:{{{Pk}}} > 4000|{{#ifexpr:{{{Pk}}} < 6000|[[Category:Proth 2 4000-6000|#.....{{padleft:{{{Pk}}}|5|0}}]]}}}}<!-- | ||
+ | -->{{#ifexpr:{{{Pk}}} > 6000|{{#ifexpr:{{{Pk}}} < 8000|[[Category:Proth 2 6000-8000|#.....{{padleft:{{{Pk}}}|5|0}}]]}}}}<!-- | ||
+ | -->{{#ifexpr:{{{Pk}}} > 8000|{{#ifexpr:{{{Pk}}} < 1e4|[[Category:Proth 2 8000-10000|#.....{{padleft:{{{Pk}}}|5|0}}]]}}}}<!-- | ||
+ | -->{{#ifexpr:{{{Pk}}} > 1e4|{{#ifexpr:{{{Pk}}} < 1e5|[[Category:Proth 2 10e4-10e5|#.....{{padleft:{{{Pk}}}|5|0}}]]}}}}<!-- | ||
+ | -->{{#ifexpr:{{{Pk}}} > 1e5|{{#ifexpr:{{{Pk}}} < 1e6|[[Category:Proth 2 10e5-10e6|#.....{{padleft:{{{Pk}}}|5|0}}]]}}}}<!-- | ||
+ | -->{{#ifexpr:{{{Pk}}} > 1e6|{{#ifexpr:{{{Pk}}} < 1e7|[[Category:Proth 2 10e6-10e7|#.....{{padleft:{{{Pk}}}|5|0}}]]}}}}<!-- | ||
+ | -->{{#ifexpr:{{{Pk}}} > 1e7|{{#ifexpr:{{{Pk}}} < 1e8|[[Category:Proth 2 10e7-10e8|#.....{{padleft:{{{Pk}}}|5|0}}]]}}}}<!-- | ||
+ | -->{{#ifexpr:{{{Pk}}} > 1e8|{{#ifexpr:{{{Pk}}} < 1e9|[[Category:Proth 2 10e8-10e9|#.....{{padleft:{{{Pk}}}|5|0}}]]}}}}<!-- | ||
+ | -->{{#ifexpr:{{{Pk}}} > 1e9|{{#ifexpr:{{{Pk}}} < 1e10|[[Category:Proth 2 10e9-10e10|#.....{{padleft:{{{Pk}}}|5|0}}]]}}}}<!-- | ||
+ | -->{{#ifexpr:{{{Pk}}} > 1e10|[[Category:Proth 2 10e10-infinity|#.....{{padleft:{{{Pk}}}|5|0}}]]}}<!-- | ||
+ | |||
-->{{#ifexpr:{{{Pk}}} mod 3||[[Category:Proth {{{Pb}}} 3k-value|#.....{{padleft:{{{Pk}}}|5|0}}]]}}<!-- | -->{{#ifexpr:{{{Pk}}} mod 3||[[Category:Proth {{{Pb}}} 3k-value|#.....{{padleft:{{{Pk}}}|5|0}}]]}}<!-- | ||
-->{{#ifexpr:{{{Pk}}} mod 15||[[Category:Proth {{{Pb}}} 15k-value|#.....{{padleft:{{{Pk}}}|5|0}}]]}}<!-- | -->{{#ifexpr:{{{Pk}}} mod 15||[[Category:Proth {{{Pb}}} 15k-value|#.....{{padleft:{{{Pk}}}|5|0}}]]}}<!-- |
Revision as of 17:03, 25 July 2021
Description
Template Proth prime
Display of current data for Proth primes k•bn+1, comments will be displayed as references at the bottom.
Prototype
{{Proth prime |Pk= |Pb= |PCount= |PNash= |PMaxn= |PDate= |PReserved= |PMultiRes= |PNlist= |PRemarks= |PSieve= }}
Parameters
- Pk: the k-value of k•bn+1
- Pb: the b-value of k•bn+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 (latest history entry)
- PReserved: person(s) who reserved this sequence (comma separated)
- PMultiRes: number of 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 (b = 2 only):
- k-value is disvisible by 3 → category Proth 3k is set
- 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
Any base:
- Nash-weight < 1000 → category Proth Low-weight is set
- If there are 100 n-values or more → Proth Count-100 is set
- If PCount=0 → category Proth Count 0 is set
- If PCount=0 & PNash=0 & PMaxn=0 → Proth Sierpinski is set
The category Proth prime for base b 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 |Pb=2 |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
|
|
Remarks : |
For this k-value these are the Fermat primes. |
Notes
- ↑ Sophie Germain n=2, Twin n=2, Testtext
- ↑ Sophie Germain n=3, Woodall, Examples
- ↑ Example
- ↑ with Top5000 entry