QA- Numbers Flashcards
What are Integers :
All numbers whose fractional part is 0 (zero) like -3, -2, 1, 0, 10, 100 are integers.
Natural Numbers :
Counting numbers like 1, 2, 3, 4, 5, 6 … Basically, all integers greater than 0 are natural numbers.
Whole Numbers :
All natural numbers and 0 (zero) are whole numbers.
Prime Numbers :
All numbers having only two distinct factors, the number itself and 1, are called prime numbers. Some prime numbers are 2, 3, 53, 67 and 191.
Composite Number :
All numbers greater than 1 which are NOT prime are composite numbers. Some composite numbers are 4, 60, 91 and 100.
TF 1 is neither prime, nor composite.
t
2 is the only even prime number. TF
T
There are 25 prime numbers less than 100. TF
T
They are : 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.
How to check if a number is prime?
To check if a number ‘p’ is prime, find a number ‘n’ such that ‘n’ is the smallest natural number which satisfies n2 >= p. Now, check if ‘p’ is divisible by any of the prime numbers less than or equal to ‘n’. If ‘p’ is NOT divisible by any such prime numbers, ‘p’ is a prime number. Otherwise, p is not a prime number.
How to check if two numbers are co prime
Co-primes : Two numbers ‘a’ and ‘b’ are called co-prime if their highest common factor (HCF) is 1.
Divisibility By 2 :
A number is divisible by 2 if the last digit is any of 0, 2, 4, 6, 8.
Divisibility By 3:
A number is divisible by 3 if the sum of its digits is divisible by 3. For example, 12321 is divisible by 3 because 1 + 2 + 3 + 2 + 1 = 9 and 9 is divisible by 3.
Divisibility By 4 :
A number is divisible by 4 if the last two digits are divisible by 4. For example, 1234 is not divisible by 4 as the last two digits 34 is not divisible by 4. But, 1232 is divisible by 4 as the last two digits 32 is divisible by 4.
Divisibility By 5 :
A number is divisible by 5 if the last digit is either 0 or 5.
Divisibility By 6 :
A number is divisible by 6 if it is divisible by both 2 and 3. For example, 114 is divisible by 6 as it is divisible by both 2(last digit is 4) and 3 (1+1+4=6, 6 is divisible by 3).
Divisibility By 7 :
A number is divisible by 7 if repeatedly doing following steps until a single digit left leaves the single digit as 0 or 7. (1) Remove the last digit. (2) Subtract double of last digit from the number obtained after step 1 (number with last digit removed). Example, given number is 196. After removing last digit, we get 19. After subtracting 12 (double of removed digit), we get 7. Since the last left digit is 7, number is multiple of 7.
Divisibility By 8 :
A number is divisible by 8 if the last three digits are divisible by 8. For example, 1234 is not divisible by 8 as the last three digits 234 is not divisible by 8. But, 1232 is divisible by 8 as the last three digits 232 is divisible by 8.
Divisibility By 9 :
A number is divisible by 9 if the sum of its digits is divisible by 9. For example, 12321 is divisible by 3 because 1 + 2 + 3 + 2 + 1 = 9 and 9 is divisible by 9.
Divisibility By 11
A number is divisible by 11 if the difference between the sum of numbers at even positions and odd positions is either 0 or a multiple of 11.
If ‘p’ and ‘q’ are co-primes and we have a number ‘n’ that is divisible by both ‘p’ and ‘q’, ‘n’ will be divisible by_____
p x q.
For example, 48 is divisible by both 3 and 8 and also by 3 x 8 = 24.
if ‘p’ and ‘q’ are NOT co-prime, then the fact that ‘n’ would be divisible by p x q is it true or not
it is not true,
if ‘p’ and ‘q’ are NOT co-prime, then the fact that ‘n’ would be divisible by p x q given that ‘n’ is divisible by both ‘p’ and ‘q’ is not necessary. For example, 144 is divisible by both 8 and 12 (not co-prime), but it is not divisible by 8 x 12 = 96.
DIVISION THEOREM
Dividend = (Divisor x Quotient) + Remainder
(xn – an) is divisible by ________ for all values of n.
(x – a)
For example, for n = 2, x2 – a2 = (x – a) (x + a), which is divisible by (x – a).
Similarly, for n = 3, x3 – a3 = (x – a) (x2 + a2 + xa), which is divisible by (x – a).
(xn – an) is divisible by _________for all even values of n.
(x + a)
For example, for n = 2, x2 – a2 = (x – a) (x + a), which is divisible by (x+a).
Similarly, for n = 3, x3 – a3 = (x – a) (x2 + a2 + xa), which is not divisible by (x + a).