Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

Show that there are infinitely many triples (x, y, z) of integers such that x3 + y4 = z31.

Answer»

x3 + y4 = z11 

Let x = 0 => y4 = z11 => y = z11/4 (many values of z of the form (integer)4 will give integral values of y. so infinite sets.

2.

If a, b, c are three real numbers such that | a – b | ≥ | c |, | b – c | ≥ | a |, |c-a|≥|b|, then prove that one of a ,b, c is the sum of the other two.

Answer»

Explanation:

Using | a – b | ≥ | c |, we obtain |a – b|2 ≥ |c|2, which is equivalent to (a – b – c)(a – b + c) ≥ 0. Similarly, (b – c – a) (b – c + a) ≥ 0 and (c – a – b) (c – a + b) ≥ 0 .Multiplying these inequalities, We get 

- (a + b – c)2 (b + c – a)2 (c +a-b)2 ≥ 0.

This forces that LHS is equal to zero. Hence it follows that either a + b = c, or b + c = a, or c + a = b

3.

The equation 166 × 56 = 8590 is valid in some base b ≥ 10 (that is 1, 6, 5, 8, 9, 0 are digits in base b in the above equation). Find the sum of all possible values of b ≥ 10 satisfying the equation.

Answer»

(166)a × (56)a = (8590)a

=> [a3 + 6a2 + 6] [5a + 6] = 8a3 + 9a2 + 5a

=> 3a3 – 31a2 – 57a – 36 = 0

=> (a – 12) (3a2 + 5a + 3) = 0

a = 12, only possible value of a.

4.

In a book with page numbers from 1 to 100 ,some pages are torn off. The sum of the numbers on the remaining pages is 4949. How many pages are torn off?

Answer»

Explanation:

Suppose r pages of the book are torn off. Note that the page numbers on both the sides of a page are of the form 2k - 1 and 2k, and their sum is 4k - 1. The sum of the numbers on the torn pages must be of the form

4k1 – 1 + 4k2 – 1 +………….+4kr – 1 = 4(k1 + k2 +…….+ kr) – r

The sum of the numbers of all the pages in the untorn book is

1 + 2 + 3 +………+ 100 = 5050.

Hence the sum of the numbers on the torn pages is

5050 – 4949 = 101.

We therefore have

4(k1 + k2 +…….+ kr) – r = 101.

This shows that r  3 (mod 4). Thus r = 4l + 3 for some l ≥ 0.

Suppose r ≥ 7, and suppose k1< k< k<………<.kr . Then we see that

4(k1 + k+……….+ kr) – r ≥ 4 (k1 + k2 +……..….+ k7) – 7 ≥ 4 (1 + 2 +………..+ 7) - 7

=4 x 28 - 7 = 105 > 101.

Hence r = 3. This leads to k1 + k2 + k3 = 26 and one can choose distinct positive integers k1, k2, k3 in several ways.

5.

Let p, q be prime numbers such that n3pq – n is a multiple of 3pq for all positive integers n. Find the least possible value of p + q.

Answer»

n3pq – n = 0 (mod 3)

n3pq – n = 0 (mod p)

n3pq – n = 0 (mod q)

∴ We need to fulfill following conditions :

(i) (3 – 1) | (pq – 1) ⇒ pq is odd

(ii) (p – 1) | (3q – 1)

Now 3 must not divide (p – 1) as it doesn’t divide (3q – 1)

∴ p – 1 = 3k + 1 or 3k + 2, for some integer k.

∴ ⇒ p = 3k + 2 or 3k + 3

But p ≠ 3k + 3 (as its prime)

∴ p = 3k + 2 clearly p > 3 and k = odd = 2λ +

1 (say)

⇒ p = 6λ + 5

(ii) (q – 1) | (3p – 1) so q will also be 5 (mod 6)

by trial least values for p & q are 17 and 11.

∴ p + q = 28

6.

Find the number of all integer-sided isosceles obtuse-angled triangle with perimeter 2008.

Answer»

Explanation:

Let the sides be x, x, y, where x, y are positive integers. Since we are looking for obtuse-angled triangle, y > x. Moreover ,2x + y = 2008 shows that y is even. But y < x + x, by triangle inequality. Thus y < 1004.Thus the possible triples (y, x, x) = (1002, 503, 503), (1000, 504, 504), (998, 505, 505), and so on. The general form is (y, x, x) = (1004 - 2k, 502 + k, 502 + k) , where k = 1, 2, 3,…., 501.

But the condition that the triangle is obtuse leads to

(1004 - 2k)2 > 2(502 + k)2 

This simplifies to

5022 + k2 - 6(502)k > 0. 

Solving this quadratic inequality for k, we see that 

k <502 (3 - 22), or k > 502 (3 + 22),

Since k  501, we can rule out the second possibility. Thus k < 502(3 - 2√2), which is approximately 86.1432. We conclude that k ≤ 86. Thus we get 86 triangles

(y, x, x) = (1004 - 2k, 502 + k, 502 + k), k = 1, 2, 3, ………, 86.

The last obtuse triangle in this list is : (832, 588, 588). (It is easy to check that 8322 - 5882 - 5882 = 736 > 0, whereas 8302 - 5892 - 5892 = -4982 < 0).

7.

Show that there is no integer a such that a2 – 3a – 19 is divisible by 289.

Answer»

Explanation:

We write

a2 - 3a - 19 = a2 - 3a - 70 + 51 = (a - 10)(a + 7) + 51

Suppose 289 divides a2 - 3a - 19 for some integer a. Then 17 divides it and hence 17 divides (a - 10)(a + 7). Since 17 is a prime, it must divides (a - 10) or (a + 7). But (a + 7) - (a - 10) = 17. Hence whenever 17 divides one of (a - 10) and (a + 7), it must divide the older also. Thus 172 = 289 divides (a - 10)(a + 7). It follows that 289 divides 51, which is impossible. Thus, there is no integer a for which 289 divides a2 - 3a - 19.

8.

Find all integers a, b, c such that a2 = bc + 1, b2 = ca + 1.

Answer»

Suppose a = b. Then we get one equation a2 = ac + 1. This reduces to a(a – c) = 1. Therefore a = 1, a - c = - 1. Thus we get (a, b, c)=(1, 1, 0)and (-1, -1, 0).

If a b, subtracting the second relation from the first we get

a2 - b2 = c(b - a).

Thus a2 + b2 + ab = 1.  

Multiplication by 2 gives (a + b)2 + a2 + b2 = 2.

Thus (a, b) = (1, -1), (-1, 1), (1, 0), (-1, 0), (0, 1), (0, - 1).  

We get respectively = 0, 0, - 1,1, - 1, 1. 

Thus we get the triples:

(a, b, c)

= (1, 1, 0), (- 1, - 1, 0), (1, - 1, 0), (- 1, 1, 0), (1, 0, - 1), (- 1, 0, 1), (0, 1, - 1), (0, - 1, 1).

9.

Let a, b, c be positive integers such that a divides b4 , b divides c4 and c divides a4. Prove that abc divides (a + b + c)21 .

Answer»

If a prime p  divides a, then p|b4 and hence p|b. This implies that p|c4 and hence |c. Thus every prime divides a also divides b and c. By symmetry, this is true for b & c as well. We conclude that a, b, c have the same set of prime divisors.

Let px ||a, py|| b and pz||c. (Here we write px || a to mean px ||a and (|px + 1|)/a we may assume min {x, y, z} = x. Now b|c4 implies that y ≤ 4z : c| a4 implies that z ≤ 4x. we obtain

y ≤ z ≤ 16x

Thus x + y + z ≤ x + 4x + 16x = 21x  Hence the maximum power of p that dividesabc is x + y + z ≤ 21x. Since x is the minimum among x, y, z, px divides a, b, c. hence px divides a + b + c. This implies that p21x divides (a + b + c)21. since x + y + z ≤ 21x, it follows that px + y + z divides (a + b + c)21. this is true of any prime p dividing, c. hence abc divides (a + b + c)21.

10.

Five distinct 2-digit numbers are in a geometric progression. Find the middle term.

Answer»

Since all five numbers are 2 digit

∴ Number should have 24 or 34 included no other

possibility and common ratio should be 3/2 or 2/3.

∴ Numbers are 16, 24, 36, 54, 81.

11.

Let Γ be a circle with centre O. Let A be the another circle passing through O and intersecting Γ at points A and B. A diameter CD of Γ intersects A at point P different from O. Prove that ∠APC = ∠BPD.

Answer»

Suppose that A' is a point on A such that A'PC = BPD. Then the segments OA' and OB subtends same angle in the respective minor arcs, so OA' = OB. This shows that A lies on Γ and hence A' =A.

This proves that APC = BPD.

12.

Find the number of 4-digit numbers (in base 10) having non zero digits and which are divisible by 4 but not by 8.

Answer»

Explanation:

We divide the even 4-digit numbers having non-zero digits into 4 classes: those ending in 2,4,6,8.

(A) Suppose a 4-digit number ends in 2. Then the second right digit must be odd in order to be divisible by 4. Thus the last 2 digits must be of the form 12, 32, 52, 72 or 92. If a number ends in 12, 52, or 92, then the previous digit must be even in order not to be divisible by 8 and w have 4 admissible even digits. Now the left most digit of such a 4-digit number can be any non-zero digit and there are 9 such ways, and we get 9x4x3 = 108 such numbers. If a number ends in 32 or 72, then the previous digit must be odd in order not to be divisible by 8 and we have 5 admissible odd digits. Here again the left most digit of such a 4-digit number can be any non-zero digit and there are 9 such ways,and we get 9x5x2=90 such numbers. Thus the number of 4- digit numbers having non-zero digits, ending in 2,divisible by 4 but not by 8 is 108 + 90 = 198.

 (B) If the number ends in 4, then the previous digit must be even for divisibility by 4. Thus the last two digits must be of the form 24, 44, 54, 84. If we take numbers ending with 24 and 64, then the previous digit must be odd for non-divisibility by 8 and the left most digit can be any non-zero digit. Here we get 952=90 such numbers. If the last two digits are of the form 44 ant 84 ,then previous digit must be even for non-divisibility by 8. And the left most digit Can be take 9 possible values. We thus get 9 x 4 x 2 = 72 numbers. Thus the admissible numbers ending in 4 is 90+72=162.

(C) If a number ends with 6 , then the last two digits must be of the form 16, 36, 56, 76, 96. For numbers ending with 16, 56, 76, the previous digit must be odd. For numbers ending with 36, 76, the previous digit must be even. Thus we get here (9 x 5 x 3)(9 x 4 x 2) = 135 + 72 = 207 numbers.

(D) If a numbers ends with 8, then the last two digits must be of the form 28,48,68,88. For numbers ending with 28,68, the previous digit must be even. For numbers ending with 48,88, the previous digit must be odd. Thus we get (9 x 4 x 2) + (9 x 5 x 2) = 72 + 90 = 162 numbers . Thus the number of 4-digit numbers, having non-zero digits. and divisible by 4 but not by 8 is

198 + 162 + 207 + 162 = 729.

Alternative Solution: 

If we take any four consecutive even numbers and divide them by 8, we get remainders 0, 2, 4, 6 in some order. Thus there is only one number of the form 8k + 4 among them which is divisible by 4 but not by 8. Hence we take four even consecutive numbers

1000a + 100b + 10c + 2, 1000a + 100b + 10c + 4, 1000a + 100b + 10c + 6, 1000a + 100b + 10c + 8,

There is exactly one among these four which is divisible by 4 but not by 8. Now we can divide the set of all 4-digit even numbers with nonzero digits into groups of 4 such consecutive even numbers with a, b, c nonzero. And in each group, there is exactly one number which is divisible by 4 but not by 8 . The number of such groups is precisely equal to 9x9x9 =729, since we can vary a, b, c in the set {1, 2, 3, 4, 5, 6, 7, 8, 9,}.

13.

Let a, b be integers such that all the roots of the equation (x2 + ax + 20)(a2 + 17x + b) = 0 are negative integers. What is the smallest possible value of a + b?

Answer»

∵ Roots of (x2 + ax + 20)(a2 + 17x + b) = 0 are negative integers and we required (a + b)min 

∴ a, b each should be minimum

a2 – 80 is perfect square and a is a positive integer

⇒ amin = 9

289 – 4b is a perfect square and b is a positive integer

⇒ bmin = 16                   (using 8, 15, 17)

∴ (a + b)min = 25

14.

A pen costs Rs 11 and a notebook costs Rs 13. Find the number of ways in which a person can spend exactly Rs 1000 to buy pens and notebooks.

Answer»

Let pens be x and notebooks be y.

∴ 11x + 13y = 1000

11x = 1000 – 13y

when y = 5 then x = 85

Now every common number will occur at the interval of 11 × 13 = 143 is RHS starting with y = 5, RHS is

935, 792, ..., 66

∴ We obtain total 7 such ordered pairs.

15.

What is the value of ∑1≤i&lt;j≤10,i+j =odd (i - j) - ∑1≤i&lt;j≤10,i+j =even  (i - j) ?

Answer»

i = 1 => 1 + (2 + 4 + 6 + 8 + 10 – 3 – 5 – 7 – 9)

= 1 – 4 + 10 = 7

i = 2 => 0 × 2 + (3 + 5 + 7 + 9 – 4 – 6 – 8 – 10)

= – 4

i = 3 => 1 × 3 + (4 + 6 + 8 + 10 – 5 – 7 – 9)

= 3 – 3 + 10 = 10

i = 4 => 0 × 4 + (5 + 7 + 9 – 6 – 8 – 10) = – 3

i = 5 => 1 × 5 + (6 + 8 + 10 – 7 – 9) = 5 – 2 + 10

= 13

i = 6 => 0 × 6 + (7 + 9 – 8 – 10) = – 2

i = 7 => 1 × 7 + (8 + 10 – 9) = 7 – 1 + 10 = 16

i = 8 => 0 × 8 + (9 – 10) = – 1

i = 9 => 1 × 9 + (10) = 19

∴ S = (7 + 10 + 13 + 16 + 19) – (4 – 3 – 2 – 1)

= 55

16.

There are five cities A, B, C, D, E on a certain island. Each city is connected to every other city by road. In how many ways can a person starting from city A come back to A after visiting some cities without visiting a city more than once and without taking the same road more than once? (The order in which he visits the cities also matters : e.g., the routes A → B → C → A and A → C → B → A are different)

Answer»

He can visit all 4 cities or 3 cities or 2 cities from B, C, D, E.

If he visits all 4 cities = 4! = 24

If he visits 3 cities = 4C3.3! = 24

If he visits 2 cities = 4C2.2! = 12

∴ Total ways = 60

17.

Let a and b be natural numbers such that 2a – b, a – 2b, and a + b are all distinct squares. What is the smallest possible value of b?

Answer»

Let

2a – b = n2 …(i)

a – 2b = p2 …(ii)

a + b = k2 …(iii)

Adding (ii) and (iii) we get

2a – b = p2 – k2

p2 + k2 = n2 (p < k as a + b < a – 2b)

For b to be smallest, k2 and p2 is also small and

must be multiple of 3 (as 3b = k2 – p2)

For smallest b, the least value of k and p be 12 and 9 resp.

∴ Least value of b = 21

18.

Suppose 1, 2, 3 are the roots of the equations x4 +ax2 + bx = c. Find the value of c.

Answer»

∵ Sum of the roots = 0

∴ 1 + 2 + 3 + α = 0 ⇒ α = –6

∴ Product of roots = –c = 1 × 2 × 3 × –6

⇒ c = 36

19.

Let X = {1,2,3,…..,12}. Find the number of pairs {A,B} such that A⊆ X, B ⊆ X, A ≠ B And A∩B = {2, 3, 5, 7, 8}.

Answer»

Let  AB = Y, B\A = M, A\B =N & X\Y = L. Then X is the  disjoint union of M, N, L & A ∩ B. Now A ∩ B = {2, 3, 5, 7, 8} is fixed. The remaining seven elements 1, 4, 6, 9 10, 11, 12 can be distributed in any of remaining sets M N, L

This can be done in 37 ways. Of there if all the elements are in the set L then A = B = {2, 3, 5, 7, 8} and this case has to be omitted. Hence the total number of pairs {A, B} such that A ⊆ X, B ⊆ X, AB and A ≠ B = {2, 3, 5, 7, 8} is 37 - 1.

20.

Let f be the set of all integers greater than or equal to 8 and  f : X → X be a function such that f(x + y) = f(xy) for all x ≥ 4, y ≥ 4. if f(8) = 9, determine f(9).

Answer»

Explanation:

We observe that

f(4 + 5) = f(4.5) = f(20) = f(16 + 4) = f(16.4) = (64) = f(8.8) 

= f(8 + 8) = f(16) = f(4 + 4) = f(8).

If f(8) = 9, then f(9 = 9) This is one string. There may be other different way changing f(8) from f(9). The important thing to be observed is the fact that the f(x + y) = f(xy) applies only when x and y are at least 4. One may string using x and y which are smaller then 4, but that is not valid. For example

f(9) = f(3.3) = f(3 + 3) = f(6) = f(4 + 2) = f(4.2) = f(8), (is filled string.)

21.

In a class, the total numbers of boys and girls are in the ratio 4 : 3. On one day it was found that 8 boys and 14 girls were absent from the class and that the number of boys was the square of the number of girls. What is the total number of students in the class?

Answer»

Let boys be 4x and girls be 3x.

∵ 4x – 8 = (3x – 14)2

∴ 9x2 – 88x + 204 = 0

9x2 – 54x – 34x + 204 = 0

(9x – 34) (x – 6) = 0

x = 6, 34/9

∴ Total number of students = 7x = 42

22.

Find the numbers of all 6-digit natural numbers such that the sum of their digits is 10 and each of the digits 0,1,2,3 occurs at least once in them. 

Answer»

Explanation:

We observe that 0 + 1 + 2 + 3 = 6. Hence the remaining two digits must account for the sum 4. This is possible with 4 = 0 + 4 = 1 + 3 = 2 + 2. Thus we see that the digits in any such 6-digit number must be from one of the collections: 

{0, 1, 2, 3, 0, 4}, {0, 1, 2, 3, 1, 3} or {0, 1, 2, 3, 2, 2}.

Consider the case in which the digits are from the collection {0, 1, 2, 3, 0, 4}. Here 0 occurs twice and 1,2,3,4 occur one each. But 0 cannot be the first digit. Hence the first digit must be one of the 1,2,3,4. Suppose we fix 1 as the first digit. Then the number of 6-digit numbers in which the remaining 5 digits are 0,0,2,3,4 is 5!/2! = 60. Same is the case with other digits: 2, 3, 4.

Thus the number of 6-digit numbers in which the digits 0,1,2,3,0,4 occur is 60 x 4 = 240.

Suppose the digits are from the collection {0,1,2,3,1,3} .The number of 6- digit numbers beginning with 1 is 5!/2! = 60.  The number of those beginning with 2 is 5!/2!2! = 30.   and the number of those beginning with 3 is 5!/2! = 60. Thus the total number, in this case, is 60 + 30 + 60 =150. Alternately, we can also, count it as follows: the number of 6-digit numbers one can obtain from the collection {0,1,2,3,1,3} with 0 also as a possible first digit is 6!/2!2! = 180; the number of 6-digit numbers one can obtain from the collection {0,1,2,3,1,3} in which 0 is the first digit is 5!/2!2! = 30. Thus the number of 6- digit numbers formed by the collection {0,1,2,3,1,3} ,such that no number has its first 0 is 180-30=150.

Finally look at the collection {0,1,2,3,2,2}. Here the number of 6-digit numbers in which 1 is first digit 5!/3! = 20; the number of those having 3 as the first digit is 5!/3! = 20;  Thus the number of admissible 6-digit number here is 20+60+20=100.This may also be obtained using the other method of counting: 6!/3! - 5!/3! = 120 - 20 = 100;

Finally the total number of 6-digit numbers in which each of the digits 0,1,2,3 appears at least once is 240 + 150 + 100 = 490. 

23.

Determine the smallest prime that does not divide any five–digit number whose digits are in a strictly increasing order.

Answer»

Note that 12346 is even, 3 and 5 divide 12345, and 7 divides 12348. 

Consider a 5 digit number n = abcde with 0 < a < b < c < d < e < 10. 

Let S = (a + c + e) – (b + d). 

Then S = a + (c – b) + (e – d) > a > 0 and S = e - (d – c) – (b – a) < e  10, 

so S is not divisible by 11 and hence n is not divisible by 11. 

Thus 11 is the smallest prime that does not divide any fivedigit number whose digits are in a strictly increasing order.

24.

Suppose 32 objects are placed along a circle at equal distance. In how many ways can 3 objects be chosen from among them so that no two of three chosen objects are adjacent nor diametrically opposite?

Answer»

One can chose 3 objects out of 32 objects in (323) ways. Among these choices all would be together in 32 cases; exactly two will be together in 32 x 28 cases. Thus three object can be chosen such that no two adjacent in (323) - 32 - (32 x 28) ways. Among these, further, two objects will be diametrically opposite in 16 ways and third would be on either semicircle in a non adjacent portion in 32 – 6 = 26 ways. Thus required number is

(323) - 32 - (32 x 28) - (16 x 26) = 3616 

25.

Consider a chessboard of size 8 units × 8 units (i.e. each small square on the board has a side length of 1 unit). Let S be the set of all the 81 vertices of all the squares on the board. What is number of line segments whose vertices are in S1 and whose length is a positive integer ? (The segments need not be parallel to the sides of the board.)

Answer»

Number of line segment parallel to co-ordinate axis of 1 unit length equals to 8 × 9 × 2.

Number of line segment parallel to co-ordinate axis of 2 unit length equals to 7 × 9 × 2.

Number of line segment parallel to co-ordinate axis of 3 unit length equals to 6 × 9 × 2. and soon…..

Number of line segment parallel to co-ordinate axis of 8 unit length equals to 1 × 9 × 2.

Number of line segment not parallel to co-ordinate axis of 5 unit length equals to 5 × 8 × 2 × 2.

Number of line segment not parallel to co-ordinate axis of 10 unit length equals to 7 × 3 × 2 × 2.

Total line segment equals to 780.