Əsas faktorlaşdırma hesablayıcısı
Rəqəmi adi faktorlara böl
Yazdığınız zaman nəticələr yenilənir.
Bu hesablayıcı haqqında
Prime factorization expresses a whole number as a product of prime numbers — the unique "building blocks" that multiply to give it. This calculator returns the factorization in exponent form, the full list of prime factors, how many divisors the number has, and whether it is prime.
It works by trial division: divide out the smallest prime that fits (2s first, then 3s, then 5s, and so on) until only 1 remains, then group repeated primes into powers. For example, 360 = 2 × 2 × 2 × 3 × 3 × 5, written 2³ × 3² × 5. The number of divisors follows from the exponents — add one to each and multiply: (3+1) × (2+1) × (1+1) = 24 divisors for 360. If a number factors into just itself, it is prime.
Prime factorization is the basis for finding the GCD and LCM, reducing fractions, and public-key cryptography, whose security rests on how hard factoring very large numbers is. Every whole number above 1 has exactly one prime factorization.
Tez-tez soruşulan suallar
İlkin faktorlaşdırma nədir?
Bu, bir nömrəni adi sayların məhsulu kimi yazmaqdır. 360 = 2 × 3 × 3 × 5, adətən 2³ × 3² × 5 yazılmışdır.
Rəqəmin adi olub olmadığını necə bilmək olar?
Əsas ədəd təkcə bir əsas faktora malikdir - özü. Əgər faktorizasiya təkcə ədəddirsə, o zaman əsas ədəddir.
Bir nömrənin neçə bölücüsü var?
Faktorizasiyada hər bir eksponentə bir əlavə et və qatla. 360 = 2³ × 3² × 5, bu səbəbdən (3+1) × (2+1) × (1+1) = 24 bölücüsünə malikdir.
Hansı adi ilk faktorlaşdırılmalıdır?
Ən kiçik uyğun olan: alət bütün 2-ləri, sonra 3-ləri, sonra 5-ləri bölür və adi sayları yuxarı doğru davam etdirir.
1 əsas ədəddirmi?
Xeyr. Birin adi faktorları yoxdur və konvensiyaya görə nə adi, nə də kompozitdir, buna görə də alət ən azı 2-nin daxil edilməsini tələb edir.
Təkrarlanan adi sayların göstərilməsi necədir?
Onlar eksponent formasında qruplaşdırılır. 2-nin üç faktoru 2 × 2 × 2 deyil, 2³ olaraq yazılır.
API — bu hesablayıcını koddan istifadə et
Bu hesablayıcını pulsuz JSON son nöqtəsi kimi çağır - açar lazım deyil. Aşağıdakı sahənin dəyərlərini sorğu parametrləri və ya JSON olaraq göndər. Əks təqdirdə, səhifənin əvvəlcədən doldurulduğu ön qurğulu parametrlər istifadə ediləcəkdir. Namə'lum parametrlər 400-dür, heç vaxt səssiz sıfır deyil. API sənədlərini oxu →
Son nöqtəsi
GET https://calculator.free/api/v1/prime-factorization/
curl
curl "https://calculator.free/api/v1/prime-factorization/?n=360"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/prime-factorization/?" + new URLSearchParams({
"n": "360"
}));
const data = await r.json();
console.log(data.results);
Bu nəticələr yalnız ümumi məsləhət üçün hesablamalardır, maliyyə, tibbi və ya vergi məsləhətləri deyil.