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:InfoboxMersennePrime"

From Prime-Wiki
Jump to: navigation, search
m
(field number, Top5000id)
Line 14: Line 14:
 
| digits=
 
| digits=
 
| pdigits=
 
| pdigits=
 +
| number=
 
| discovery=
 
| discovery=
 
| discoverer=
 
| discoverer=
Line 35: Line 36:
 
| digits=24862048
 
| digits=24862048
 
| pdigits=49724095
 
| pdigits=49724095
 +
| number=148894445742...325217902591
 
| discovery=2018-12-07
 
| discovery=2018-12-07
 
| discoverer=[[Patrick Laroche]]
 
| discoverer=[[Patrick Laroche]]
Line 53: Line 55:
 
| digits=24862048
 
| digits=24862048
 
| pdigits=49724095
 
| pdigits=49724095
 +
| number=148894445742...325217902591
 
| discovery=2018-12-07
 
| discovery=2018-12-07
 
| discoverer=[[Patrick Laroche]]
 
| discoverer=[[Patrick Laroche]]
Line 78: Line 81:
 
| n-value : || {{Num|{{{nvalue}}}}}
 
| n-value : || {{Num|{{{nvalue}}}}}
 
|-
 
|-
| [[The Prime Pages|Top5000 ID]] : || {{T5000|{{{top5000id}}}|{{Num|{{{top5000id}}}}}}}
+
| Number : || {{{number}}}
 +
|-
 +
{{#if:{{{top5000id|}}}|
 +
{{!}} [[The Prime Pages|Top5000 ID]] :
 +
{{!}} {{T5000|{{{top5000id}}}|{{Num|{{{top5000id}}}}}}}
 +
}}
 
|-
 
|-
 
| Digits : || {{Num|{{{digits}}}}}
 
| Digits : || {{Num|{{{digits}}}}}
Line 144: Line 152:
 
"digits": {},
 
"digits": {},
 
"pdigits": {},
 
"pdigits": {},
 +
"number": {},
 
"discovery": {},
 
"discovery": {},
 
"discoverer": {},
 
"discoverer": {},

Revision as of 10:33, 15 February 2019

Template: InfoboxMersennePrime

Purpose

Showing information of an Mersenne prime.

Calling

{{InfoboxMersennePrime
| title=
| rank=
| nvalue=
| top5000id=
| digits=
| pdigits=
| number=
| discovery=
| discoverer=
| credit1=
| credit2=
| credit3=
| project=
| link1=
| link2=
| link3=
}}

Example

{{InfoboxMersennePrime
| title= M51
| rank= 51*
| nvalue= 82589933
| top5000id=125874
| digits=24862048
| pdigits=49724095
| number=148894445742...325217902591
| discovery=2018-12-07
| discoverer=[[Patrick Laroche]]
| credit1=[[George Woltman]]
| credit2=[[Aaron Blosser]] et. al.
| project=[[GIMPS]] & [[PrimeNet]]
| link1=[https://www.mersenne.org/primes/?press=M82589933 Press release]
| link2=[https://www.mersenne.org/primes/digits/M82589933.zip Mersenne51 as ZIP]
| link3=[https://www.mersenne.org/primes/perfect/perfect82589933.zip Perfect51 as ZIP]
}}

If the rank contains a *, a remark for provisional ranking is shown at the bottom.

M51
Prime class :
Type : Mersenne prime
Formula : Mn = 2n - 1
Prime data :
Rank : 51*
n-value : 82,589,933
Number : 148894445742...325217902591
Digits : 24,862,048
Perfect number : 282,589,932 • (282,589,933-1)
Digits : 49,724,095
Discovery data :
Date of Discovery : 2018-12-07
Discoverer : Patrick Laroche

<templatedata> { "params": { "title": { "label": "Title", "description": "The title of the infobox.", "example": "M51", "type": "string", "required": true }, "rank": {}, "nvalue": {}, "top5000id": {}, "digits": {}, "pdigits": {}, "number": {}, "discovery": {}, "discoverer": {}, "credit1": {}, "credit2": {}, "credit3": {}, "project": {}, "link1": {}, "link2": {}, "link3": {} }, "description": "All data for a Mersenne prime." } </templatedata>