4.2 Primes and GCD Flashcards

1
Q

Definition of prime

A

An integer p greater than 1 is called prime iff the only positive factors of p are 1 and itself

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How to show if an integer is prime

A

If n is a composite ionteger( not prime) then it has a prime divisor less than or equal to the square root of n

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Steps to find the prime factorization of a number

A
  1. Divide the number by successive primes starting with the smallest prime, 2.
  2. Continue factoring till you reach a prime number
  3. The prime factorization is the multiplication of all the primes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How to find the greatest common divisor of two numbers

A

By using the prime factorization, and take the min exponential of all primes in both numbers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How to find the least common multiple of two numbers

A

By using the prime factorization, and take the max exponential of all primes in both numbers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly