Àwọn Ìṣàmúlò-ètò

Wá àwọn àwọn ìṣàmúlò-ètò tí a fẹ́ nínú àtòjọ àwọn à

Fi àwọn à
Àwọn ìṣàfarawé àwọn àwọn ìṣàfarawé àwọn àwọn ààyè-iṣẹ́ —
Àwọn ìṣàfarawé àwọn ìṣàmúlò-ètò —
Tí a fi pamọ́? —

Àwọn Àtòjọ-ẹ̀yàn àwọn ìṣàmúlò-ètò

Ńlà àwọn àwọn ààtò àtòjọ-ẹ̀yàn yìí?

Àkóónú ìṣàmúlò-ètò yìí

This calculator finds the greatest common divisor (GCD) — the largest number that divides all your values evenly — and the least common multiple (LCM), the smallest number they all divide into. Enter two or more whole numbers separated by commas or spaces and it also tells you whether they are coprime.

The GCD is found with the Euclidean algorithm: repeatedly replace the larger number with the remainder of dividing the two until one becomes zero; the other is the GCD. The LCM is then built up pairwise using LCM = a × b ÷ GCD. For 12, 18 and 24 the greatest common divisor is 6 and the least common multiple is 72. When the GCD is 1 the numbers share no common factor and are called coprime.

The GCD is what you use to reduce a fraction to lowest terms, while the LCM gives the common denominator for adding fractions and the period at which repeating cycles line up. The result is the same no matter what order you enter the numbers in.

Àwọn Àtòjọ-ẹ̀yàn

Bawo ní a ṣe lè ṣé ìṣàmúlò-ètò GCD?

It uses the Euclidean algorithm: repeatedly replace the larger number with the remainder of dividing the two, until one becomes zero. The other is the GCD.

Bawo ni GCD ati LCM ṣe sopọ?

For two numbers, GCD × LCM = the product of the numbers. So LCM = a × b ÷ GCD, which is how the tool extends the LCM across a whole list.

Kini o tumọ si?

Two or more numbers are coprime when their greatest common divisor is 1 — they share no common factor other than 1. The tool flags this for you.

Ń lè fi àwọn à

Ya. Ṣàpàdé àwọn àwọn ińtítì nípa àwọn àkóónú àti àwọn ààyè-iṣẹ́, àti GCD àti LCM ní pàtó láti kọ́lú àtòjọ-ẹ̀yàn kí o lè fi àwọn ińtítì pàtó.

Kini GCD ati LCM ti 12, 18 ati 24?

Iṣẹ́gun tí o gàjú jú ni 6 (nínú gbogbo àwọn nọmba tí o gàjú jú nínú gbogbo àwọn nọmba mẹ́ta) atí pé apọjú tí o gàjú jú ni 72.

Ńlá àwọn

Kò lè. GCD náà àti LCM náà ní pàtó nípa ìṣàmúlò-ètò tí o tìtẹ̀ àwọn

❤️ Àwọn àkọ́lé Calculator.Free? Fi pamọ́

𝕏  X Facebook Reddit
API — ló àwọn ìṣàmúlò-ètò yìí láti inú ìṣàmúlò-ètò

Fi àwọn ìṣàmúlò-ètò yìí kọ̀ǹpútà yìí láti jẹ́ ààyè-iṣẹ́ JSON tí a tí fi pamọ́ - kò ní bọ́tìnì kan tí a fẹ́. Fi àwọn fálù ààyè-iṣẹ́ sílẹ̀ sí bí àwọn àwọn ìṣàmúlò-ètò àti JSON. Anything you omit uses the same default this page is pre-filled with; an unknown parameter is a 400, never a silent zero. Ka àwọn àkọlé API kíkún →

Àwọn Ààyè Ìjánu-ìṣàmúlò-ètò

GET https://calculator.free/api/v1/gcd-lcm/

curl

curl "https://calculator.free/api/v1/gcd-lcm/?numbers=12, 18, 24"

JavaScript fetch()

const r = await fetch(
  "https://calculator.free/api/v1/gcd-lcm/?" + new URLSearchParams({
    "numbers": "12, 18, 24"
  }));
const data = await r.json();
console.log(data.results);

Results are estimates for general guidance only, not financial, medical or tax advice.