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

From Prime-Wiki
Jump to: navigation, search
(no "Gen")
(sieve file option included)
Line 16: Line 16:
 
|WoNlist=
 
|WoNlist=
 
|WoRemarks=
 
|WoRemarks=
 +
|WoSieve=
 
}}
 
}}
 
</pre>
 
</pre>
Line 34: Line 35:
 
24;123456
 
24;123456
 
|WoRemarks=The {{OEIS|l|A059675}}
 
|WoRemarks=The {{OEIS|l|A059675}}
 +
|WoSieve=y
 
}}
 
}}
 
</pre>
 
</pre>
Line 50: Line 52:
 
24;123456
 
24;123456
 
|WoRemarks=The {{OEIS|l|A059675}}
 
|WoRemarks=The {{OEIS|l|A059675}}
 +
|WoSieve=y
 
}}
 
}}
 
[[Category:Prime collections]]
 
[[Category:Prime collections]]
Line 60: Line 63:
 
| class="primetemplate color-PrimeTemplate" |
 
| class="primetemplate color-PrimeTemplate" |
 
  {|  
 
  {|  
   | align="right" | <b>Base :</b> || {{{WoBase}}}
+
   | align="right" | <b>Base :</b> || {{{WoBase}}} {{#if:{{{WoSieve|}}}|{{#ifexist:File:{{PAGENAME}} sieve.zip|&nbsp;([[:File:{{PAGENAME}} sieve.zip|sieve]])|[[File:{{PAGENAME}} sieve.zip|Upload me!]]}}}}
 
   |-
 
   |-
 
   | align="right" | <b>Count :</b> || {{#if:{{#pos:{{{WoRemarks|}}}|reuse}}|{{#arraydefine:L|{{{WoNlist}}}}}{{#arraysize:L}}|{{NVal list|{{{WoNlist}}}|count}}}}
 
   | align="right" | <b>Count :</b> || {{#if:{{#pos:{{{WoRemarks|}}}|reuse}}|{{#arraydefine:L|{{{WoNlist}}}}}{{#arraysize:L}}|{{NVal list|{{{WoNlist}}}|count}}}}

Revision as of 05:52, 22 November 2021

Description

Template "Woodall prime"

Display of current data for (Near/Generalized) Woodall primes, comments will be displayed as references at the bottom.

The base and the sign (for near types) are determined from the page title, the same for the categorizations.

Prototype

{{Woodall prime
|WoBase=
|WoMaxn=
|WoDate=
|WoReserved=
|WoNlist=
|WoRemarks=
|WoSieve=
}}

Example

{{Woodall prime
|WoBase=6
|WoMaxn=1000000
|WoDate=2019-04-04
|WoReserved=Karsten Bonath
|WoNlist=
1
2
3
19;C:Test
20
24;123456
|WoRemarks=The {{OEIS|l|A059675}}
|WoSieve=y
}}

will create:

Current data

ASCII format : n*6^n-1
Base : 6 Upload me!
Count : 6
Max n : 1,000,000
Date : 2019-04-04
Reserved : Karsten Bonath
1, 2, 3, 19[1], 20, 24
Remarks :
The sequence A059675 in OEIS

Notes

  1. Test