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:Near Gen. Cullen-Woodall prime"
(new) |
m |
||
Line 73: | Line 73: | ||
}} | }} | ||
[[Category:Prime collections]]</noinclude><includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|<!-- | [[Category:Prime collections]]</noinclude><includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|<!-- | ||
− | -->{{#vardefine:b| | + | -->{{#vardefine:b|{{#explode:{{PAGENAME}}||-1}}}}{{DISPLAYTITLE:Near Gen. Cullen/Woodall primes of the form (n±1)•{{#var:b}}<sup>n</sup>±1}}<!-- |
-->{{#if:{{{NGCWCMlist|}}}||[[Category:Near Gen. Cullen without|#.....{{padleft:{{#var:b}}|5}}]]}}<!-- | -->{{#if:{{{NGCWCMlist|}}}||[[Category:Near Gen. Cullen without|#.....{{padleft:{{#var:b}}|5}}]]}}<!-- | ||
-->{{#if:{{{NGCWCPlist|}}}||[[Category:Near Gen. Cullen without|#.....{{padleft:{{#var:b}}|5}}]]}}<!-- | -->{{#if:{{{NGCWCPlist|}}}||[[Category:Near Gen. Cullen without|#.....{{padleft:{{#var:b}}|5}}]]}}<!-- |
Revision as of 11:01, 6 May 2019
Description
Template Near Gen. Cullen-Woodall prime
Display of current data for Near Gen. Cullen-Woodall primes.
Notes:
- The page title is displayed with the formula.
- The category Near Gen. Cullen-Woodall prime is set.
- If no Near Gen. Cullen primes are given, the page is categorized into Near Gen. Cullen without.
- If no Near Gen. Woodall primes are given, the page is categorized into Near Gen. Woodall without.
- If no primes are given at all, the page is categorized into Near Gen. Cullen-Woodall without.
Calling
{{Near Gen. Cullen-Woodall prime |NGCWBase= |NGCWMaxn= |NGCWDate= |NGCWReserved= |NGCWWMlist= |NGCWWPlist= |NGCWCMlist= |NGCWCPlist= |NGCWRemarks= |NGCWSieve= }}
Example
{{Near Gen. Cullen-Woodall prime |NGCWBase=2 |NGCWMaxn=10000 |NGCWDate=2019-05-01 |NGCWReserved=Karsten Bonath |NGCWWMlist= 1 2 5 13 |NGCWWPlist= 30 100;C:Test |NGCWCPlist= 1 2 3;345789 |NGCWRemarks= |NGCWSieve= }}
will create:
Current data
|
|
Notes
- ↑ Test