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:Greatest Mersenne Prime"

From Prime-Wiki
Jump to: navigation, search
(parameters)
m
Line 2: Line 2:
 
This template will show the currently greatest Mersenne Prime found.
 
This template will show the currently greatest Mersenne Prime found.
  
Depending of a given parameter the information given differs.
+
Depending of a given parameter the rendered information differs.
  
 
==Calling==
 
==Calling==
Line 10: Line 10:
 
==Parameter==
 
==Parameter==
 
:<code>number</code>: The number in TeX-notation is given with a link to the page for that Mersenne prime.
 
:<code>number</code>: The number in TeX-notation is given with a link to the page for that Mersenne prime.
:<oode>text</code>: The number in ASCII-notation is given with a link to the page for that Mersenne prime.
+
:<code>text</code>: The number in ASCII-notation is given with a link to the page for that Mersenne prime.
 
:<code>count</code>: Only the current count for this Mersenne number as link is given.
 
:<code>count</code>: Only the current count for this Mersenne number as link is given.
  

Revision as of 19:18, 1 February 2019

This template will show the currently greatest Mersenne Prime found.

Depending of a given parameter the rendered information differs.

Calling

{{Greatest Mersenne Prime|<parameter>}}

The parameter is optional.

Parameter

number: The number in TeX-notation is given with a link to the page for that Mersenne prime.
text: The number in ASCII-notation is given with a link to the page for that Mersenne prime.
count: Only the current count for this Mersenne number as link is given.

Examples

{{Greatest Mersenne Prime|number}} gives [math]\displaystyle{ 2^{82\,589\,933}-1 }[/math] (M51)

{{Greatest Mersenne Prime|text}} gives 282,589,933-1 (M51)

{{Greatest Mersenne Prime|count}} gives 51

A false or no parameter prints an error code: ERROR in calling template "Greatest Mersenne Prime"

Use this template on other pages instead of editing every page.