ژمێرەری GCD و LCM
بەدوای گەورەترین دابەشکەری هاوبەش و کەمترترین دووبارەبونەوەی هاوبەشدا بگەڕێ بۆ لیستی ژمارەکان
ئەنجامەکان نوێدەکرێنەوە کاتێک کە نوسیت
دەربارەی ئەم ژمێرە
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 which
پرسیاری زۆر کراوە
چۆن GCD دادەنرێت؟
ئەمانە بەکاردەهێنن ئەلگۆریتمی ئیوکلیدی: دووبارە و دووبارە ژمارەی گەورەتر بە ماوەیەکی درێژخایەن دەگۆڕێت بە ماوەیەکی کورت، هەتا یەکێکیان دەبێتە سێ. ئەوی تریان GCD یە.
چۆن پەیوەندی نێوان GCD و LCM هەیە؟
بۆ دوو ژمارەی GCD × LCM = بەرهەمی ژمارەیە. کەواتە LCM = a × b ÷ GCD، کە چۆن ئامێری LCM درێژ دەبێتەوە لە سەر لیستێکی تەواو.
مەبەستت چییە؟
دوو یان زیاتر لە ژمارەیان هاوبەشی سەرەکین کاتێک کە گەورەترین دابەشکەری هاوبەشیان ١ بێت - هیچ فاکتەرێکی هاوبەشیان نییە جگە لە ١. ئامێرەکە ئەمە بۆ تۆ نیشان دەدات
ئایا دەتوانم زیاتر لە دوو ژمارەی تۆمار بکەم؟
بەڵێ. ژمارەکانی تەواو بە بەکارهێنانی کۆمار یان بۆشایی جیا بکەەوە و GCD و LCM لە سەرجەم لیستەکە دا حساب دەکرێت
چیە هاوبەشە گەورەکە و هاوبەشە بچوکەکە بۆ ١٢، ١٨ و ٢٤؟
گەورەترین دابەشکەری هاوبەش ٦ یە (بە گەورەترین ژمارەی دابەشکەری هەموو سێیەکە) و بچوکترین دووبارەبونەوەی هاوبەش ٧٢ یە.
ئایا ڕێژەی ژمارەکان گرنگە؟
نەخێر. هەردو GCD و LCM یەکسانن بێ گوێدانە ڕێکەوتی ئەوەی کە ژمارەی تێدا دەنوسیت.
API - ئەم ژمێرەرانە لە کۆد بەکاربهێنە
ئەم ژمێرەرە بانگ بکە وەک خاڵێکی کۆتایی JSON - هیچ کێڵگەیەک پێویست ناکات. بایەخی بەشی خوارەوە بنێرێت وەک پارامەتری پرسیار یان JSON. پەڕەی زانیارییەکانی API بخوێنە →
خاڵى کۆتایی
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);
ئەنجامەکان تەنها بۆ ڕێنمایی گشتین، نەک بۆ ڕاوێژی دارایی، پزیشکی یان باج.