Te tātaitai GCD & LCM

Ka kimi i te kaiwehe noa nui rawa me te taumaha noa iho o tētahi rārangi tau.

Whakawehe ngā tau tōpū me ngā kōaro, mokowā rānei.
Ko te kaiwehe noa nui rawa (GCD)
Taumaha noa iho te iti rawa (LCM)
Whakawhāiti?

Ka whakahōutia ngā hua i te wā e tātuhi ana.

Mo tēnei tātaitai

you enter two or more whole numbers separated by commas or spaces and it tells you whether they are coprime. 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. When the GCD is 1 the numbers share no common factor and are called coprime. When the GCD is 1 the numbers shareTheThe 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

Ko nga pātai e pā ana

He pēhea te tatau i te GCD?

Ka whakamahia e ia te hātepe papatono Euclidean: ka whakahōutia anō te tau nui ake me te toenga o te wehenga o ngā tau e rua, tae noa ki te kore te kotahi.

He pēhea te pātahitanga o te GCD me te LCM?

Mō ngā tau e rua, GCD × LCM = te hua o ngā tau. Nā reira LCM = a × b ÷ GCD, ko te tikanga e whakaroa ana te utauta i te LCM puta noa i tētahi rārangi katoa.

He aha te tikanga o te pūtake?

E rua, neke atu rānei ngā tau ko ngā tau matua ina ko to rātau kaiwehe noa nui rawa atu ko te 1 — kāore rātau e tiritiri i tētahi take noa iho i tua atu i te 1. Ka tohu tēnei e te utauta mō te koe.

Ka taea e au te tāuru neke atu i te rua tau?

He. He tino wehe ngā tau tōpū me ngā kōaro, mokowā rānei, ā, ka tātaitai te GCD me te LCM puta noa i te rārangi katoa.

He aha te GCD me te LCM o te 12, 18 me te 24?

Ko te 6 te kaiwehe noa nui rawa (te tau nui rawa e wehe ana i ngā toru katoa) ā, ko te taumaha noa iho iti rawa ko te 72.

He mea hira te raupapa o ngā tau?

Kāore. He ōrite te GCD me te LCM, ahakoa he aha te raupapa e tātuhi ana i ngā tau.

❤️ Love Calculator.Free? Whakawehe

𝕏  X Facebook Reddit
API — whakamahi tēnei tātaitai mai i te waehere

E kī ana tēnei tātaitai hei wāhi mutunga kore JSON - kāore he kī e hiahiatia ana. Ka tukuna ngā uara āpure i raro nei hei tohutoro pātai, JSON rānei. Ka pānui te papatono API katoa →

Whakamutunga

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);

Ko ngā hua he whakataunga mō te tohutohu ahuwhānui anake, ehara i te tohutohu moni, rongoā, tāke rānei.