Калкулатор на просте факторизације
Поделите број на просте чиниоце.
Резултати ажурирају при куцању.
О овом калкулатору
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.
Често постављана питања
Шта је просте чиниоце?
Пише број као производ просте вредности. 360 = 2 × 2 × 3 × 3 × 5, обично пише 23 × 32 × 5.
Како да знам да ли је број прост?
A prime has exactly one prime factor — itself. If the factorization is just the number on its own, it is prime.
Колико делиоца има број?
Додај по један степену у чиниоцу и помножи. 360 = 23 × 32 × 5, тако да има (3+1) × (2+1) × (1+1) = 24 делиоца.
Који прост је прво избачен?
The smallest one that fits: the tool divides out all the 2s, then the 3s, then the 5s, and continues upward through the primes.
Да ли је 1 прост број?
Не, нема се просте чиниоце, и по конвенцији није ни прост ни сложен, тако да алатки треба улаз најмање 2.
Шта су понављајући прости бројеви приказани као?
They are grouped into exponent form. Three factors of 2 are written 2³ rather than 2 × 2 × 2.
API — користите овај калкулатор из кода
Позовите овај калкулатор као бесплатну исходну. Пошаљите вредности поља испод као параметри упита или ЈСОН. Све што пропустите користи исто подразумевано, ова страница је испуњена; непознат параметар је 400, никада тиха нула. Читајте све API доц. →
Крајња тачка
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);
Резултати су само процене за опште смернице, а не финансијске, медицинске или порезне савете.