Navigation
Topics Register • News • History • How to • Sequences statistics • Template prototypes

Template:Is Long number

From Prime-Wiki
Jump to: navigation, search

Purpose

Determines if a given parameter is a Long number.

Usage

{{Is Long number|<value>}} Returning 1, if <value> is a Long number (containing a "..." or beginning with "N"), 0 otherwise.

Examples

  • {{Is Long number|1234567}}: 0
  • {{Is Long number|N1100000000000108402}}: 1
  • {{Is Long number|1341282742...05}}: 1