Divisibility/Divisibility Tests Flashcards

Learn

1
Q

Primality Testing

A

to test a positive integer a to see if its prime, we only need to check to see if it
is divisible by the primes p such that p^2 <= a

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

n is divisible by 5 if ____

A

the rightmost digit of n is 0 or 5

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

n is divisible by 2 if ____

A

the rightmost digit of n is 0, 2, 4, 6, or 8

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

n is divisible by 8 if ____

A

the number formed by erasing all but the
rightmost three digits of n is divisible by 8

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

n is divisible by 3 if ____

A

the sum of the digits of n is divisible by 3

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

n is divisible by 4 if ____

A

the number formed by erasing all but the
rightmost two digits of n is divisible by 4

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

n is divisible by 7 if ____

A

double last digit and subtract from the rest of the number. repeat until you can tell if is divisible by 7

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

Prime Factorization

A

a divides b if and only if the exponents of the prime factors of a are less
than or equal to the exponents of the corresponding prime factors of b

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

n is divisible by 11 if ____

A

the difference between the sum of every other
digit of n and the sum of the remaining digits is
divisible by 11

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

n is divisible by 10 if ____

A

the rightmost digit is 0

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

n is divisible by 9 if ____

A

the sum of the digits of n is divisible by 9

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

n is divisible by 6 if ____

A

n is divisible by 2 and also by 3

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