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

From Prime-Wiki
Jump to: navigation, search
(param. WiSieve added)
(class)
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
Display of current data for Williams primes, comments will be displayed as references at the bottom.
 
Display of current data for Williams primes, comments will be displayed as references at the bottom.
  
==Calling==
+
The category [[:Category:Williams prime|Williams prime]] is set by default.
 +
 
 +
==Prototype==
 
<pre>
 
<pre>
 
{{Williams prime
 
{{Williams prime
Line 17: Line 19:
 
}}
 
}}
 
</pre>
 
</pre>
 
The category [[:Category:Williams prime|Williams prime]] is set by default.
 
  
 
==Example==
 
==Example==
Line 68: Line 68:
 
==Current data==
 
==Current data==
 
{| class="primedata"
 
{| class="primedata"
| class="primetemplate" |
+
| class="primetemplate color-PrimeTemplate" |
 
  {|  
 
  {|  
 
   | align="right" | <b>Base :</b> || {{{WiBase}}} {{#if:{{{WiSieve|}}}|{{#ifexist:File:{{PAGENAME}} sieve.zip|&nbsp;([[:File:{{PAGENAME}} sieve.zip|sieve]])|[[File:{{PAGENAME}} sieve.zip|Upload me!]]}}}}
 
   | align="right" | <b>Base :</b> || {{{WiBase}}} {{#if:{{{WiSieve|}}}|{{#ifexist:File:{{PAGENAME}} sieve.zip|&nbsp;([[:File:{{PAGENAME}} sieve.zip|sieve]])|[[File:{{PAGENAME}} sieve.zip|Upload me!]]}}}}
Line 88: Line 88:
 
|}{{#if:{{{WiRemarks|}}}|
 
|}{{#if:{{{WiRemarks|}}}|
 
{{{!}}  
 
{{{!}}  
{{!}} <div height="120%" style="background-color:SkyBlue;"><b>Remarks : </b></div> {{!}}{{!}} {{{WiRemarks}}}
+
{{!}} <div height="120%" class="color-PrimeTemplate"><b>Remarks : </b></div> {{!}}{{!}} {{{WiRemarks}}}
 
{{!}}}
 
{{!}}}
 
}}
 
}}

Latest revision as of 02:06, 17 May 2021

Description

Template Williams prime

Display of current data for Williams primes, comments will be displayed as references at the bottom.

The category Williams prime is set by default.

Prototype

{{Williams prime
|WiBase=
|WiMaxn=
|WiDate=
|WiReserved=
|WiNlist=
|WiRemarks=
|WiSieve
}}

Example

{{Williams prime
|WiBase=10
|WiMaxn=1000000
|WiDate=2016
|WiReserved=Karsten Bonath
|WiNlist=
1
3
7
19
29
37
93
|WiRemarks=These primes are [[Near-repdigit]] numbers; {{OEIS|l|A056725}}
|WiSieve=
}}

will create:

Current data

Base : 10
Count : 7
Max n : 1,000,000
Date : 2016
Reserved : Karsten Bonath
1, 3, 7, 19, 29, 37, 93
Remarks :
These primes are Near-repdigit numbers (8999...999); sequence A056725 in OEIS