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
m (Karbon moved page Template:Gen. Cullen prime to Template:Cullen prime without leaving a redirect: name)
m
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
==Description==
 
==Description==
Template "Gen. Cullen prime"
+
Template "Cullen prime"
  
 
Displays current data for [[Gen. Cullen prime|Generalized Cullen primes]], comments will be displayed as references at the bottom.
 
Displays current data for [[Gen. Cullen prime|Generalized Cullen primes]], comments will be displayed as references at the bottom.
Line 7: Line 7:
 
==Calling==
 
==Calling==
 
<pre>
 
<pre>
{{Gen. Cullen prime
+
{{Cullen prime
 
|CuBase=
 
|CuBase=
 
|CuMaxn=
 
|CuMaxn=
Line 23: Line 23:
 
==Example==
 
==Example==
 
<pre>
 
<pre>
{{Gen. Cullen prime
+
{{Cullen prime
 
|CuBase=4
 
|CuBase=4
 
|CuMaxn=1234
 
|CuMaxn=1234
Line 38: Line 38:
  
 
will generate
 
will generate
{{Gen. Cullen prime
+
{{Cullen prime
 
|CuBase=4
 
|CuBase=4
 
|CuMaxn=1234
 
|CuMaxn=1234

Revision as of 15:20, 19 September 2019

Description

Template "Cullen prime"

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

Calling

{{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

{{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

Current data

ASCII format : n*4^n+1
Base : 4
Count : 4
Max n : 1,234
Date : 2019-04-26
Reserved : Dylan Delgado
1, 5, 33, 193[1]
Remarks :
The sequence A007646 in OEIS

Notes

  1. test