소수 분해 계산기
숫자를 소수로 나누어 봅니다.
입력하는 동안 결과가 업데이트됩니다.
이 계산기에 대해
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로 쓰인다.
숫자가 소수인지 어떻게 알 수 있습니까?
소수는 1개의 소수분해를 가지고 있다. 만약 분해가 그 자체의 숫자일 경우, 그것은 소수이다.
숫자는 몇 개의 분모를 가지고 있습니까?
360 = 2³ × 3² × 5, 그래서 (3 + 1) × (2 + 1) × (1 + 1) = 24 분할자가 있습니다.
어떤 소수가 먼저 처리되나요?
적합한 가장 작은 숫자: 도구는 모든 2를 나누고, 그 다음 3을 나누고, 그 다음 5를 나누고, 소수를 통해 위로 계속합니다.
1은 소수인가?
1은 소수 인자가 없으며, 규칙에 따라 소수도 복합수도 아닙니다. 따라서 도구는 최소 2의 입력을 필요로 합니다.
반복 소수는 어떻게 표시됩니까?
2의 세 배수는 2 × 2 × 2가 아닌 2³로 표기한다.
API — 코드에서 이 계산기를 사용
이 계산기를 무료 JSON 엔드포인트로 호출하세요. 키가 필요하지 않습니다. 아래 필드 값을 쿼리 매개 변수 또는 JSON으로 보내십시오. 누락된 모든 값은 이 페이지에서 미리 채워진 기본값을 사용합니다. 알 수 없는 매개변수는 400이며, 절대 0이 아닙니다. 전체 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);
결과는 재정, 의료 또는 세금 조언이 아닌 일반적인 지침을위한 추정치입니다.