メインコンテンツへスキップ
Z

LCM・GCD計算機(最小公倍数・最大公約数)

任意個の整数の最大公約数と最小公倍数を、任意精度で正確に計算します。クライアント側だけで完結します。

無料 登録不要 クライアントサイド プライバシーに配慮 Updated

使い方

  1. 1 整数を2つ以上入力します。カンマまたはスペースで区切ってください。
  2. 2 GCDとLCMがその場で計算されます。
  3. 3 数値が大きくなっても結果は正確です(任意精度)。

このツールを使う理由

  • どんな数値リストでも、GCDとLCMを一度に計算できます。
  • 非常に大きな数でも正確な結果が得られます。
  • すべての処理がブラウザ内だけで完結します。

よくある質問

GCDとは何ですか?

最大公約数のことです。与えられたすべての数を余りなく割り切れる、最大の整数を指します。

LCMとは何ですか?

最小公倍数のことです。与えられたすべての数の倍数となる、最小の正の整数を指します。

GCDとLCMはどのような関係にありますか?

2つの数の場合、gcd(a, b) × lcm(a, b) = |a × b| という関係が成り立ちます。GCDはユークリッドの互除法で求め、そこからLCMを導き出します。

3つ以上の数を入力することもできますか?

できます。リスト全体に対してペアごとの計算を重ねる形で、GCDとLCMが求められます。

LCM・GCD計算機(最小公倍数・最大公約数) とは?

LCM/GCD計算機は、ユークリッドの互除法を用いて整数リストの最大公約数と最小公倍数を求め、任意精度の演算で正確な結果を返すツールです。

機能

GCD & LCM together

Computes both the greatest common divisor and least common multiple at once.

Euclidean algorithm

Uses the classic, efficient Euclidean method — exact for large integers.

Free & private

Runs on your device — nothing is uploaded.

Input

12 and 18

Output

GCD = 6 · LCM = 36

主な用途

  1. 1

    Simplify fractions

    Divide numerator and denominator by their GCD to reduce a fraction.

  2. 2

    Find common denominators

    Use the LCM of denominators to add or compare fractions.

  3. 3

    Schedule cycles

    Find when two repeating events coincide via their LCM.

概要

Zerethon's LCM & GCD calculator finds the greatest common divisor and least common multiple of two or more integers in your browser, using the Euclidean algorithm. It shows both results live. Everything runs client-side — nothing is uploaded.

カテゴリ
数学
料金
無料
プライバシー
ブラウザベース
登録
不要

References

プライバシー

明記されない限り、データがブラウザの外に送信されることはありません。LCM・GCD計算機(最小公倍数・最大公約数) は完全にクライアント側で動作します — サーバーへのアップロードなし、ログなし、入力内容のトラッキングなし。

比較

関連ツール

Zerethon Social で作成・共有・成長しよう

無料登録。ポイントを獲得し、実績を集め、世界中のクリエイターとつながりましょう。

無料登録