calendarBack
Quant

/

Numbers

/

Number Theory
ALL MODULES

CAT 2025 Lesson : Number Theory - Prime Numbers

bookmarked

5. Prime and Composite numbers

5.1 Prime numbers

Prime numbers are those natural numbers that can be perfectly divided by exactly two positive integers,
11 and the number itself. In other words, prime numbers have exactly two factors. The increasing sequence of prime numbers is 22, 33, 55, 77, 1111, 1313, 1717, 19...19 ...
The number
11 is neither prime nor composite.

Some key points to note here are:

1) No pattern has been established for the occurrence of prime numbers.
2) All prime numbers are odd numbers, with the exception of
22.
3) All prime numbers except
22 and 55 end with the digits 11, 33, 77 or 99.
4) For ease in exams, note that there are
1515 prime numbers less than 5050 and 2525 prime numbers less than 100100.
5) All prime numbers, other than
22 and 33, are in the form (6k+1)(6k + 1) or (6k1)(6k - 1), where k is a positive integer.

5.2 Composite numbers

Composite numbers are natural numbers that have more than two factors. These are numbers formed when two or more prime numbers are multiplied.
4=2×24=2 \times 2, 105=3×5×7105=3 \times 5 \times 7. Composite numbers can be odd or even (eg., 44, 99)

5.3 Test for Prime

To check whether a number is prime or not:

Step 1: Calculate the square root of the number.
Step 2: If the square root is an integer, then the number is not prime. If not,
Step 3: Determine all prime numbers less than or equal to the square root
Step 4: Check if any of these prime numbers perfectly divide the number
Step 5: If none of them divide the number, then the number is prime, else the number is composite.

Example 15

Which of 143143, 323323 and 331331 are prime numbers?

Solution

143<144=12\sqrt{143} \lt \sqrt{144} = 12
Prime numbers less than
1212 are 22, 33, 55, 77 and 1111.
143\bm{143} is divisible by 1111 and \therefore not prime.

323<324=18\sqrt{323} \lt \sqrt{324} = 18
Prime numbers less than
1818 are 22, 33, 55, 77, 1111, 1313 and 1717.
323\bm{323} is divisible by 1717 and \therefore not prime.

331<361=19\sqrt{331} \lt \sqrt{361} = 19
Prime numbers less than
1919 are 22, 33, 55, 77, 1111, 1313 and 1717.
331\bm{331} is not divisible by any of these and \therefore is prime.

Answer:
331331 only


5.4 Co-prime Numbers

When two numbers do not have any common factors except for
11, they are said to be co-primes as they are prime relative to each other. For instance, 44 and 99, though composite numbers, are co-prime numbers as they do not have any common factors aside from 11.

Example 16

Which of the following options have a pair of numbers that are co-prime?

(1)
1212 and 2121           (2) 1818 and 4949           (3) 2424 and 3838           (4) 3737 and 111111

Solution

Co-primes do not have any common factor.

Option 1: 33 is a common factor.
Option 2: No common factor.
\therefore Co-prime

Option 3:
22 is a common factor.

Option 4:
3737 is a common factor.

Answer: (2)
1818 and 4949

Want to read the full content

Unlock this content & enjoy all the features of the platform

Subscribe Now arrow-right
videovideo-lock