Friday, May 3, 2013

Prime Number


  • In mathematics, a prime number (or a prime) is a natural number that has exactly two distinct natural number divisors: 1 and itself. The first twenty-five prime numbers are: Prime Numbers:- 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97.
  • Condition: - If X is the prime number next the factors of the number x is 1 and X. (Source:Wikipedia)                                                                                                                                           

Prime number of 7?


  • The prime number 7 has only two divisors 1 and 7.
  • Here we are going to discuss about some prime number problems.

Example problems of prime number:


Example: - 1
          Find the number 17 is the prime number or not?
Solution:-
          Given number is 17 we have to find out it is prime number or not.
          The factors of the number 17 is the 1, 17 only.
          In the number 17 have only two factors so it is a prime number.

Example: - 2
          Find the number 331 is prime number or not?
Solution:-
         Given number is 331 we have to find out it is prime number or not.
          The factors of the number 331 is the 1, 331 only.
          In the number 331 have only two factors so it is a prime number.

Example:-3
        Find the number 1259 is prime number or not?
Solution:-
          Given number is 1259 we have to find out it is prime number or not.
          The factors of the number 1259 is the 1, 1259 only.
          In the number 1259 have only two factors so it is a prime number.

Example: - 4
        Find out the given number 8 is prime number or not?
Solution:-
        Given number is 8 we have to find out it is prime number or not.
        The factors of the number 8 are 1, 2, 4, and 8 so it is more than two.
        In the number 8 has two or more factor so it not a prime number.

Example: - 5
        Find the number 300 is prime number or not?
Solution:-
        Given number is 300 we have to find out it is prime number or not.
        The factors of the number 300 are 1, 3, 5, 15, 30 and 300 is more than two.
        In the number 300 have more than two factor hence it is not a prime number.

No comments:

Post a Comment