Mpikirakira famaritana ny famaritana
Mizara isa ho amin'ny ampahany voalohany izy.
Manova ny valin'ny fanoratanao.
Momba ity kapila ity
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.
Fanontaniana matetika
Inona no atao hoe famaritana voalohany?
It is writing a number as a product of primes. 360 = 2 × 2 × 2 × 3 × 3 × 5, usually written 2³ × 3² × 5.
Ahoana no ahafantaranao raha tena voalohany ny isa iray?
Ny isa voalohany dia manana mpamaritra voalohany iray ihany, dia ny tenany. Raha ny mpamaritra dia ny isa ihany, dia izy no voalohany.
Firy ny fizarana ny isa iray?
Add one to each exponent in the factorization and multiply. 360 = 2³ × 3² × 5, so it has (3+1) × (2+1) × (1+1) = 24 divisors.
Iza amin'ireo isa voalohany no avoaka voalohany?
The smallest one that fits: the tool divides out all the 2s, then the 3s, then the 5s, and continues upward through the primes.
Isa voalohany ve ny 1?
No. One has no prime factors, and by convention it is neither prime nor composite, so the tool needs an input of at least 2.
Inona no lazain'ny Baiboly momba ny fiverenan'ny maty?
Ny famenoana ny 2 amin'ny 3 dia atao hoe 23 fa tsy 2 × 2 × 2.
API — mampiasa io milina fanisana io avy amin'ny rindran'asa
Antsoy ho toy ny farany JSON malalaka ity milina fanisana ity - tsy mila famaha. Mandefa ireo sanda eo amin'ny sehatr'asa etsy ambany ho toy ny mpizaratry ny fanontaniana na JSON. Ny zavatra tsy voalaza dia mampiasa ny sanda tsotra efa nameno ity pejy ity; 400 ny sanda tsy fantatra, tsy aotra tsy misy feo. Vakio ny tahirin-kevitra API feno →
Endpoint
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);
Ny voka-pikarohana dia natao ho an'ny torohevitra ankapobeny ihany, tsy torohevitra ara-bola, ara-pitsaboana na ara-bola.