GCD eta LCM kalkulagailua
Zenbaki-zerrenda baten zatitzaile komun handiena eta multiplo komun txikiena aurkitu.
Emaitzak idazten duzun heinean eguneratzen dira.
Kalkulagailu honi buruz
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
[Translation temporarily unavailable. Please try again.]
Nola kalkulatzen da GCD?
Euklides-en algoritmoa erabiltzen du: behin eta berriz, zenbaki handiagoa bi zatitzaileen zatiketaren hondarraren bidez ordezkatzen da, bat zero bihurtu arte. Bestea GCD da.
Nola erlazionatzen dira GCD eta LCM?
Bi zenbakientzat, GCD × LCM = zenbakien arteko biderkadura. Hortaz, LCM = a × b ÷ GCD, tresnak LCM zerrenda osoan zehar hedatzen duen moduan.
Zer esan nahi du koprimeak?
Bi zenbaki edo gehiago koprimak dira zatitzaile komun handiena 1 denean — ez dute faktore komunik 1 baino. Tresnak hau adierazten du.
Sar al dezaket bi zenbaki baino gehiago?
Bai. Banatu zenbaki osoak koma edo zuriuneaz eta GCD eta LCM zerrenda osoan zehar kalkulatuko dira.
Zein da 12, 18 eta 24 zenbakien GCD eta LCM?
Zatitzaile komun handiena 6 da (hirurak zatitzen dituen zenbaki handiena) eta multiplo komun txikiena 72 da.
Zenbakien ordenak axola al du?
Ez. GCD eta LCM biak berdinak dira, zenbakiak idatzitako ordena edozein dela ere.
API — erabili kalkulagailu hau kodetik
Deitu kalkulagailu honi JSON amaierako puntu libre gisa — ez da gakorik behar. Bidali beheko eremuen balioak kontsultaren parametro edo JSON gisa. Irakurri APIaren dokumentazioa osorik →
Amaierako puntua
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);
Emaitzak gida orokorrerako estimazioak dira, ez finantzarioak, medikuak edo zerga aholkuak.