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
(plainlinks)
(link updated)
 
Line 23: Line 23:
 
{{PP|85528|{{Num|37156667}}}}
 
{{PP|85528|{{Num|37156667}}}}
 
[[Category:Templates]]
 
[[Category:Templates]]
</noinclude><includeonly><span class="plainlinks">[https://primes.utm.edu/primes/page.php?id={{{1}}} {{{2}}}]</span></includeonly>
+
</noinclude><includeonly><span class="plainlinks">[https://t5k.org/primes/page.php?id={{{1}}} {{{2}}}]</span></includeonly>

Latest revision as of 15:30, 3 February 2025

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|{{Num|37156667}}}}

which gives

37,156,667