Product Design, Manufacturing & Innovation Resources
家 » 整数の正規表現

整数の正規表現

1850
Desk of a 19th-century mathematician with prime factorization book and tools.

(画像はイメージです)

正の整数 n の標準表現、または標準形式は、その整数の唯一の素数です。 因数分解 素数のべき乗の積として表され、素数は昇順に並べられます。任意の整数 [latex]n > 1[/latex] に対して、[latex]n = p_1^{a_1} p_2^{a_2} cdots p_k^{a_k}[/latex] と表すことができ、ここで [latex]p_1 < p_2 < cdots < p_k[/latex] は素数であり、指数 [latex]a_i[/latex] は正の整数です。

基本 算術の定理 は、任意の整数の素因数の集合が一意であることを保証します。標準表現は、順序付けの規則を追加することでこれを基に構築され、因数の集合だけでなく表現自体も一意になります。たとえば、72 という数は `2 * 3 * 2 * 3 * 2` と因数分解できます。素因数の集合は {2, 2, 2, 3, 3} です。標準表現では、これらの因数をグループ化し、素数の基数を `2^3 * 3^2` と順序付けます。

この標準化された形式は、数論において非常に有用です。例えば、2つの数 `a` と `b` の標準表現が与えられれば、それらの最大公約数 (GCD) と最小公倍数 (LCM) を簡単に求めることができます。[latex]a = prod p_i^{alpha_i}[/latex] および [latex]b = prod p_i^{beta_i}[/latex] (ここで、指数の一部は 0 となり、`a` または `b` に含まれるすべての素数を含めることができます) の場合、[latex]text{gcd}(a, b) = prod p_i^{min(alpha_i, beta_i)}[/latex] および [latex]text{lcm}(a, b) = prod p_i^{max(alpha_i, beta_i)}[/latex] となります。これは強力な計算ツールとなります。さらに、数論における多くの重要な関数、例えば約数の数 `d(n)` や約数の和 `σ(n)` などは、標準表現の指数に基づいた単純な式で表されます。例えば、[latex]d(n) = (a_1+1)(a_2+1)cdots(a_k+1)[/latex] です。この形式は、基本的にすべての整数に対して一意の「指紋」を提供し、その乗法構造全体を符号化します。

UNESCO Nomenclature: 1101
純粋数学

タイプ

抽象システム

混乱

実質的な

使用法

広く普及している

前駆物質

  • 算術の基本定理
  • 指数表記法の発展
  • 数論を数学の独立した分野として形式化する

アプリケーション

  • 数値の最大公約数(GCD)と最小公倍数(LCM)を計算する
  • 除数関数やオイラーのトーシェント関数などの数論的関数を定義する
  • 分数の簡約化
  • 整数の乗法構造を分析する

特許:

NA

潜在的なイノベーションのアイデア

  • a database indexing system where keys are integers and their canonical representation determines data locality
  • a file versioning system that uses the canonical representation of a content hash to track changes efficiently
  • 1 chemical informatics tool that assigns a unique canonical integer to molecules based on their structure
  • 1 プログラミング言語 with a native integer type that stores numbers in their canonical prime factorization form for exact rational arithmetic
  • a method for generating unique, human-readable identifiers from large data objects
  • a cryptographic scheme where messages are encoded into the exponents of a canonical representation
  • a bioinformatics algorithm for sequence alignment that uses canonical representations of subsequences
  • a system for procedural generation of game content (e.g., levels, items) based on the canonical factorization of a seed number
  • a distributed ledger technology where transaction validity is tied to the canonical factorization of a hash
  • a formal language theory where strings are mapped to integers and their canonical forms reveal structural properties
Related to: canonical representation, standard form, prime 因数分解, number theory, greatest common divisor, least common multiple, prime power, integer, exponent, multiplicative function.

歴史的背景

整数の正規表現

1779
1799
1801
1850
1875
1897
1950
1750
1790
1800
1844
1874
1893
1900

(日付が不明または関連性がない場合、例えば「流体力学」などでは、その注目すべき出現時期の概算値が提示されます。)

10年目 周年

フルサイズの画像とダウンロードは、登録会員のみが100%無料で利用できます。