GCD & LCM suStor
Tafuta divisera ya kawaida zaidi na orodha ya nambari ambazo ni za kawaida sana.
Matokeo yanakuwa bora zaidi unapochapa.
Kuhusu kifaa hiki cha kupigia hesabu
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.
Maswali yaliyoulizwa mara nyingi
GCD huhesabiwaje?
Hutumia Euclidean algrithm: mara nyingi huweka nambari kubwa zaidi na ile inayobaki ya kugawanya mbili, mpaka moja iwe sufuri.
GCD na LCM wanahusianaje?
Kwa tarakimu mbili, GCD É LCM = zao la nambari. Kwa hiyo LCM = a ▿ b NCD, ambayo ni namna ya chombo hicho kutanda katika orodha nzima ya LCM.
Polisi humaanisha nini?
Idadi mbili au zaidi ni polisi wakati divisor ya kawaida yao kubwa ni 1 bustani yao haina mambo ya kawaida isipokuwa 1.
Je, ninaweza kuwa zaidi ya wawili?
Idadi ya watu wanaojitenga na wengine wenye vituo au nafasi mbalimbali na GCD na LCM wanakaguliwa kwenye orodha yote.
GCD na LCM wa 12, 18 na 24 ni nini?
divisor aliye maarufu zaidi ni 6 (idadi kubwa zaidi inayogawanya watu wote watatu) na idadi isiyo ya kawaida ni 72.
Je, ni muhimu kujua mpangilio wa namba?
La. Wote wawili GCD na LCM ni sawa na utaratibu unaoweka nambari hizo.
API bustanini hutumia kifaa hiki cha hesabu kutoka kwenye mfumo wa sheria
Ipigie simu kifaa hiki cha kupigia hesabu kama Junse É not doot toder. Chochote unachoacha kinatumia kiwango kilekile cha mwisho ambacho ukurasa huu haujakamilika; parameta isiyojulikana ni 400, si sufuri kimya kamwe. Soma habari kamili za API docs →
keyboard label
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);
Matokeo ni makadirio ya mwongozo wa ujumla, si wa kifedha, wa kitiba au wa kodi tu.