Number theory example problems
Q.
is a prime number
Find the number of possible values of
(i) if
(ii) if
Solution:
So,
→ Since these are 2 factors of a prime number, one of them is 1 and the other is the prime number itself.
Case I: First factor is 1.
Now check both in :
-
: → Not prime
-
:
✅ So only valid value is
Case - II
Now check in if it's prime:
-
: Not prime
-
:
Q2)
For how many positive integers is a prime number?
Now, test values:
Case ①
Case ②
So only one positive integer makes the expression prime.
But we forgot to check if one factor is -1 and other factor is negative of the prime.
(iii)
(iv)
Final Answer:
Q.
are prime numbers
Find:
Out of a,b,c one is even and rest 2 are odd. No other combination is possible.
Only even prime is 2.
WLOG, a = 2.
This gives 2 equations in 2 variables (b,c).
You will get a quadratic solving which you will get b,c = 23,41
Q.
The number of positive integral values of
for which is a prime number.
Solution:
Using rational root theorem we can identify one of the roots as 1.
Dividing by (n-1) we get the other factor as (n^2 - 7n + 13).
Case – I
Now check:
Case – II
Now check whether is prime.
n-1 = 2,3 So valid.
Q.
The number of natural numbers for which
is a natural number.
Breakdown:
For the expression to be a natural number:
Other values of n can be -1, -2, -3, -6 but then the original number wouldn't remain a natural number.
Q.
Find the number of integer for which
is a square of an integer.
Solution 1:
If n = 0 then it's square of 0.
If n != 0 then 0 < n < 19 and denominator should be less then equal to n.
=> n >= 20 - n => n >= 10
Try n from 10 to 19.
n = 10, 16,18 work.
So answer = 4.
Solution 2:
Write it as:
(n - 20 + 20)/(20-n)
= -1 + 20/(20 - n)
For it to be integer (20-n) should be a factor of 20
=> 20 - n = 1,2,4,5,10,20 Or their negative values.
From that you will get 4 valid values again.
Q.
are natural numbers.
Find the number of pairs for which
Solution:
Let m+n = x then it's a quadratic in x with roots = -1, 2014
Since m,n are natural -1 is invalid.
Number of ordered pairs = 2013.
Q.
For how many natural numbers between 1 and 2014
(both inclusive) is
an integer?
Solution1:
It can be written as:
8/(9999/n - 1)
=> 9999/n - 1 is a factor of 8.
Try putting the values 1,2,4,8 and their negatives.
Only integer values of n you will get are 3333,1111 but the first one is > 2014. So only 1 answer.
Sure! Here's the converted text from the image:
Q. Let be the set of all integers such that
is an integer.
Find the value of
Solution outline
-
Polynomial-long division
So the fraction is integral ⇔ is integral.
-
Divisibility condition
This means .
-
Corresponding integer
For each divisor ,
Because every is odd, is even, so each gives an integer .
4, 3 | |
5, 2 | |
8, –1 | |
17, –10 | |
24, –17 | |
65, –58 | |
188, –181 | |
557, –550 |
Thus
-
Required sum
Comments
Post a Comment