مواد پر جائیں
CalculatorsFinder
ریاضی کے کیلکولیٹر

Prime Number Calculator

Check whether a number is prime, see its prime factorization and find the nearest primes.

  • فوری نتائج
  • مرحلہ وار
  • نجی: آپ کے براؤزر میں چلتا ہے

اپنے اعداد درج کریں

Up to 1,000,000,000,000.

نتیجہ

360

Not prime

Composite

Prime factorization
2³ × 3² × 5
Next prime
367
Previous prime
359
Number of divisors
24
مرحلہ وار حساب
  1. Divide out primes repeatedly: 2^3 × 3^2 × 5 = 360

نیچے کی وضاحت فی الحال صرف انگریزی میں دستیاب ہے۔ کیلکولیٹر ہر زبان میں یکساں کام کرتا ہے۔

Prime Number Calculator کے بارے میں

A prime number is a whole number greater than 1 whose only divisors are 1 and itself. Every other whole number above 1 is composite and can be written as a product of primes, which is its prime factorization.

Enter a number up to one trillion to test it, factor it, and find the primes either side of it.

فارمولا اور یہ کیسے کام کرتا ہے

n is prime if no integer d with 2 ≤ d ≤ √n divides n

Fundamental theorem of arithmetic: n = p₁^a × p₂^b × …

Testing divisors only up to the square root is enough, because any larger factor pairs with a smaller one. The number of divisors is the product of (exponent + 1) over all prime factors.

حل شدہ مثال

Factor 360

360 = 2³ × 3² × 5, so it has (3+1)(2+1)(1+1) = 24 divisors. The next prime after 360 is 367 and the previous is 359.

مشورہ: یہ اعداد بھرنے کے لیے اوپر کیلکولیٹر میں “مثال آزمائیں” دبائیں۔

اپنا نتیجہ سمجھیں

2 is the only even prime. 1 is neither prime nor composite by convention.

Prime factorizations are unique and are the basis of GCF, LCM and fraction simplification.

عام غلطیاں جن سے بچیں

  • Calling 1 a prime number.
  • Assuming odd numbers are always prime (9, 15 and 21 are not).
  • Stopping the divisor search too early.

اکثر پوچھے جانے والے سوالات

Is 1 a prime number?

No. A prime must have exactly two distinct positive divisors.

What is the only even prime?

2.

How is prime factorization used?

To find GCFs and LCMs, simplify fractions and in cryptography.