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:Generalized Repunit"

From Prime-Wiki
Jump to: navigation, search
(no round brackets)
(div)
 
Line 54: Line 54:
 
[[Category:Prime collections]]</noinclude><includeonly>__NOTOC__{{#ifeq:{{NAMESPACENUMBER}}|0|<!--
 
[[Category:Prime collections]]</noinclude><includeonly>__NOTOC__{{#ifeq:{{NAMESPACENUMBER}}|0|<!--
 
-->{{#vardefine:base|{{#explode:{{PAGENAME}}||-1}}}}<!--
 
-->{{#vardefine:base|{{#explode:{{PAGENAME}}||-1}}}}<!--
-->{{DISPLAYTITLE:Generalized Repunits of the form  ({{Kbn|1|{{#var:base}}|n}}){{#expr:{{#var:base}}-1}}}}<!--
+
-->{{DISPLAYTITLE:Generalized Repunits of the form  ({{Kbn|1|{{#var:base}}|n}})/{{#expr:{{#var:base}}-1}}}}<!--
 
-->{{#if:{{{GRNlist|}}}||[[Category:Generalized Repunit without|#.....{{padleft:{{#var:base}}|5}}]]}}<!--
 
-->{{#if:{{{GRNlist|}}}||[[Category:Generalized Repunit without|#.....{{padleft:{{#var:base}}|5}}]]}}<!--
 
-->[[Category:Generalized Repunit|#.....{{padleft:{{#var:base}}|5}}]]{{#if:{{{GRReserved|}}}|{{Reserved|{{{GRReserved}}}}}}}}}
 
-->[[Category:Generalized Repunit|#.....{{padleft:{{#var:base}}|5}}]]{{#if:{{{GRReserved|}}}|{{Reserved|{{{GRReserved}}}}}}}}}

Latest revision as of 14:34, 12 March 2024

Description

Template Generalized Repunit

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

The category Generalized Repunit is set by default.

Prototype

{{Generalized Repunit
|GRBase=
|GRMaxn=
|GRDate=
|GRReserved=
|GRNlist=
|GRRemarks=
|GRSieve
}}

Example

{{Generalized Repunit
|GRBase=10
|GRMaxn=10000
|GRDate=2024
|GRReserved=Karsten Bonath
|GRNlist=
2
19
23
317
1031
|GRRemarks=These numbers are [[Repunit|Generalized Repunit]]s; {{OEIS|l|A056725}}
|GRSieve=
}}

will create:

Current data

Base : 10
Count : 5
Max n : 10,000
Date : 2024
Reserved : Karsten Bonath
2, 19, 23, 317, 1031
Remarks :
These numbers are Generalized Repunits; sequence A056725 in OEIS