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
(category for no primes)
(param. WiSieve added)
Line 14: Line 14:
 
|WiNlist=
 
|WiNlist=
 
|WiRemarks=
 
|WiRemarks=
 +
|WiSieve
 
}}
 
}}
 
</pre>
 
</pre>
Line 35: Line 36:
 
93
 
93
 
|WiRemarks=These primes are [[Near-repdigit]] numbers; {{OEIS|l|A056725}}
 
|WiRemarks=These primes are [[Near-repdigit]] numbers; {{OEIS|l|A056725}}
 +
|WiSieve=
 
}}
 
}}
 
</pre>
 
</pre>
Line 52: Line 54:
 
93
 
93
 
|WiRemarks=These primes are [[Near-repdigit number]]s (8999...999); {{OEIS|l|A056725}}
 
|WiRemarks=These primes are [[Near-repdigit number]]s (8999...999); {{OEIS|l|A056725}}
 +
|WiSieve=
 
}}
 
}}
 
[[Category:Prime collections]]</noinclude><includeonly>__NOTOC__{{#ifeq:{{NAMESPACENUMBER}}|0|<!--
 
[[Category:Prime collections]]</noinclude><includeonly>__NOTOC__{{#ifeq:{{NAMESPACENUMBER}}|0|<!--
Line 67: Line 70:
 
| class="primetemplate" |
 
| class="primetemplate" |
 
  {|  
 
  {|  
   | align="right" | <b>Base :</b> || {{{WiBase}}}
+
   | 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>Count :</b> || {{#if:{{#pos:{{{WiRemarks|}}}|reuse}}|{{#arraydefine:L|{{{WiNlist}}}}}{{#arraysize:L}}|{{NVal list|{{{WiNlist}}}|count}}}}
 
   | align="right" | <b>Count :</b> || {{#if:{{#pos:{{{WiRemarks|}}}|reuse}}|{{#arraydefine:L|{{{WiNlist}}}}}{{#arraysize:L}}|{{NVal list|{{{WiNlist}}}|count}}}}

Revision as of 07:39, 2 June 2020

Description

Template Williams prime

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

Calling

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

The category Williams prime is set by default.

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