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

Template:R

From Prime-Wiki
Revision as of 13:15, 31 July 2024 by Karbon (talk | contribs) (finalized)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

Template R to display a standardized range given.

Parameters

  • 1st: character to choose the range parameter name like 'n' (for n-range), 'k' (for k-range) or any other character/word
  • 2nd: start of range as number (including this number)
  • 3rd: end of range as number (including this number)

Notes

  • If 'start' and 'end' are equal the output is given as: <1st param.> = <start>.
  • All three parameters have to be given, there's no errorhandling.
  • For most used ranges there're shorter templates for n- and k-ranges, see Template:Rn and Template:Rk.

Examples

  • {{R|n|1|1000}} gives n = 1 - 1000
  • {{R|k|1000|1000}} gives k = 1000
  • {{R|Z|1|1}} gives Z = 1
  • {{R|base|101|199}} gives base = 101 - 199