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
(reservation automated)
(classes)
Line 53: Line 53:
 
</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:{{{CuNlist|}}}||[[Category:Gen. Cullen prime without|#.....{{padleft:{{#explode:{{PAGENAME}}||1}}|5}}]]}}{{#if:{{{CuReserved|}}}|{{Reserved|{{{CuReserved}}}}}}}}}
 
</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:{{{CuNlist|}}}||[[Category:Gen. Cullen prime without|#.....{{padleft:{{#explode:{{PAGENAME}}||1}}|5}}]]}}{{#if:{{{CuReserved|}}}|{{Reserved|{{{CuReserved}}}}}}}}}
 
==Current data==
 
==Current data==
{| style="border:solid black 1px; border-radius:5px;"
+
{| class="primedata"
| <div width="15%" style="background-color:SkyBlue">
+
| class="primetemplate" |
 
  {|  
 
  {|  
 
   | align="right" | <b>Base :</b> || {{{CuBase}}}
 
   | align="right" | <b>Base :</b> || {{{CuBase}}}
Line 68: Line 68:
 
   }}
 
   }}
 
  |}
 
  |}
</div>
+
|
| <div width="85%">
 
 
  {|  
 
  {|  
 
  | {{NVal list|{{{CuNlist}}}}}
 
  | {{NVal list|{{{CuNlist}}}}}
 
  |}
 
  |}
</div>
 
 
|}{{#if:{{{CuRemarks|}}}|
 
|}{{#if:{{{CuRemarks|}}}|
 
{{{!}}  
 
{{{!}}  

Revision as of 08:30, 3 May 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|A007646}}
}}

will generate Template:Gen. Cullen prime