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

From Prime-Wiki
Jump to: navigation, search
(new)
 
m
Line 51: Line 51:
 
}}
 
}}
 
[[Category:Prime collections]]
 
[[Category:Prime collections]]
</noinclude><includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|{{DISPLAYTITLE:Generalized Cullen primes of the form {{Kbn|n|{{#explode:{{PAGENAME}}||1}}|n}}}}[[Category:Gen. Cullen prime|#.....{{padleft:{{#explode:{{PAGENAME}}||1}}|5}}]]{{#if:{{{WoNlist|}}}||[[Category:Gen. Cullen prime without|#.....{{padleft:{{#explode:{{PAGENAME}}||1}}|5}}]]}}}}
+
</noinclude><includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|{{DISPLAYTITLE:Generalized Cullen primes of the form {{Kbn|+|n|{{#explode:{{PAGENAME}}||-1}}|n}}}}[[Category:Gen. Cullen prime|#.....{{padleft:{{#explode:{{PAGENAME}}||1}}|5}}]]{{#if:{{{WoNlist|}}}||[[Category:Gen. Cullen prime without|#.....{{padleft:{{#explode:{{PAGENAME}}||1}}|5}}]]}}}}
 
==Current data==
 
==Current data==
 
{| style="border:solid black 1px; border-radius:5px;"
 
{| style="border:solid black 1px; border-radius:5px;"

Revision as of 13:01, 26 April 2019

Description

Template "Gen. Cullen prime"

Displays current data for Generalized Cullen primes, comments will be displayed as references at the bottom.

Calling

{{Gen. Cullen prime
|CuBase=
|CuMaxn=
|CuDate=
|CuReserved=
|CuNlist=
|CuRemarks=
}}

By default, the category Gen. Cullen prime is set.

If there are no n values given, then the category Gen. Cullen prime without is also set.

Example

{{Gen. Cullen prime
|CuBase=4
|CuMaxn=1234
|CuDate=2019-04-26
|CuReserved=Dylan Delgado
|CuNlist=
1
5
33
193;C:test
|CuRemarks=The {{OEIS|l|A050915}}
}}

will generate Template:Gen. Cullen prime