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

From Prime-Wiki
Jump to: navigation, search
(restored)
 
m
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This template will create a link to a given ID in the '''P'''rime '''P'''ages ([[Top 5000 Prime Database]]).
+
This template will create a link to a given ID in the [[The Prime Pages|'''P'''rime '''P'''ages]].
  
 
==Calling==
 
==Calling==

Revision as of 19:51, 14 February 2019

This template will create a link to a given ID in the Prime Pages.

Calling

{{PP|<id>|<display>}}

where

  • <id>: the internal database ID of the Top 5000 Database
  • <display>: how this number will be displayed in here

Examples

To create a link to the number M45 (the 45.th Mersenne prime) in the Prime Pages, write

{{PP|85528|2<sup>37156667</sup> - 1}}

which gives

237156667 - 1

Mostly such links are used in tables only by giving the exponent like

{{PP|85528|37156667}}

which gives

37156667