I-Calculator ye-Prime Factorization

Ukwahlukanisa inani libe yizinkomba zayo eziyinhloko.

Ukwenza kube yizingxenye eziphambili —
Amaphesenti aphezulu —
Inani lezinhlamvu —
Ingabe iyisisekelo? —

Iziphetho zivuselelwa uma ubhala.

Ingabe le calculator ikulethela impendulo efanele?

Malunga nale khadi

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.

Imibuzo ebuzwa kaningi

Yini i-prime factorization?

Ibhala inani njengento ekhiqizwa yizinhlamvu eziphambili. 360 = 2 × 3 × 3 × 5, ivame ukubhalwa njenge 2³ × 3² × 5.

Ngizokwazi kanjani ukuchaza uma inani liyi-prime?

I-prime inengxenye eyodwa kuphela ye-prime - yona. Uma ukuguqulwa kwe-factorization kuyisibalo sayo, i-prime.

Ingabe inani linezihlukanisi eziningi?

Engeza eyodwa kunoma iyiphi i-exponent ekungeneni kwe-factorization bese uphindaphinda. 360 = 2³ × 3² × 5, ngakho-ke ine (3+1) × (2+1) × (1+1) = izihlukanisi ezingu-24.

Yiliphi inani eliyinhloko elihlukaniswa kuqala?

Oncane kakhulu olungele: ithuluzi lihlukanisa zonke izi-2, bese izi-3, bese izi-5, futhi liqhubeka linyuka ngezinto eziphambili.

Ingabe i-1 iyinani elibalulekile?

Hayi. Omunye awunazo izizathu eziphambili, futhi ngokuvumelanayo awunazo izizathu eziphambili noma ezihlanganisayo, ngakho-ke ithuluzi lidinga ukungeniswa okuncane kwe-2.

Yini okwenziwa yizinhlamvu eziyinhloko eziphindaphindwayo?

Zihlukaniswe zibe yizingxenye ezilandelayo. Izici ezintathu ze-2 zibhalwe 2³ endaweni ye-2 × 2 × 2.

❤️ Uthando Calculator.Free? Yabelana

𝕏  X Facebook Reddit
API — sebenzisa le calculator kusuka kukhodi

Nquma le calculator njenge JSON evulekile yendawo yokuqeda - akukho isithonjana esidingekayo. Thumela amaxabiso endawo ngezansi njengezilungiselelo zombuzo noma i-JSON. Noma yini ongayishiya isebenzisa iphutha elifanayo elifakwe ngaphambili lekhasi; ipharamitha engaziwa yi-400, ayikho i-zero emnyama. Funda i-API egcwele →

Ingxenye yendawo

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);

Izibalo ziyisilinganiso esisetshenziswa ukuqondisa kuphela, hhayi ukucebisa ngezimali, ukwelashwa noma ukukhokha.