Պարզ գործոնավորման հաշվիչ
Break a number down into its prime factors.
Տեղեկացնել արդյունքները տպելու ժամանակ։
Ընդունել այս հաշվիչը
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 × 3 × 3 × 5, սովորաբար գրվում է 2³ × 3² × 5.
Ինչպե՞ս կարող եմ իմանալ, թե մի թիվը պարզ թվ է :
Պարզ թվի համար հատուկ է միայն մեկ հիմնական գործոն՝ ինքն իրենը։ Եթե գործոնավորումը միայն թվի վրա է հիմնված, ապա այն պարզապես պարզ է։
Ի՞նչքան բաժանիչներ ունի թվի սկզբնական արժեքը։
Ավելացրեք մեկը յուրաքանչյուր ցուցանիշի համար և բազմապատկեք։ 360 = 2³ × 3² × 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-ը հիմնական թիվ է։
Ոչ։ 1-ը չունի առաջին գործոններ, և համաձայն պայմանագրի այն ոչ առաջին և ոչ էլ համակցված է, այնպես որ գործիքը պետք է ունենա առնվազն 2-ի մուտք։
Ինչպե՞ս են ցույց տրվում կրկնվող հիմնական թվերը։
Նրանք խմբավորված են աստիճանների ձևով։ 2-ի երեք գործոնները գրվում են 2³, ոչ թե 2 × 2 × 2։
API — օգտագործել այս հաշվիչը կոդից
Խնդրել այս հաշվիչը որպես ազատ JSON վերջնական կետը - ոչ մի կոճակ պահանջվում է. Առաջարկեք ներքևի դաշտի արժեքները որպես հարցման պարամետրեր կամ JSON. Ձեր բաց թողած ամեն ինչ օգտագործում է նույն լռելյայնը, որով այս էջը նախօրոք լրացված է։ Անհայտ պարամետրը 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);
Ընդհանուր ցուցանիշները միայն ընդհանուր ուղեցույցի համար են, ոչ ֆինանսական, բժշկական կամ հարկային խորհուրդներ։