TCS Ninja, Digital, NQT Placement Questions with solutions - 18

1. 2ab5 is a four digit number divisible by 25. If a number formed from the two digits ab is a multiple of 13, then ab is
a. 52 
b. 45 
c.10 
d.25
Sol: For a number to be divisible by 25, last two digits of that number should be divisible by 25. So b must be either 2 or 7
it is given that ab must be divisible by 13 and in the options only 52 is divisible by 13.

2. The average temperature of Tuesday Wednesday and Thursday was 37 C. The average temperature of Wednesday and Thursday and Friday was 38 C. if the temperature on Friday was 39 C. 
Find the temperature on Tuesday.
a. 37.33 
b. 38.33 
c. 36
d. None of the above
Sol:
(Tues + Wed + Thurs)/3=37
Tues + Wed + Thurs=111...(1)
(Wed + Thurs + Fri)/3=38
(Wed + Thurs + Fri) =114...(2)
Given friday is 39.
Then, (2) - (1) Fri - Tues = 3
So 39 - Tues = 3
Tuesday =36

3. There are 5 boxes in a cargo. The weight of the 1st box is 200 KG, the weight of the 2nd box is 20% higher than the third box, whose weight is 25% higher than the 1st box weight. The 4th box which weighs 350 KG is 30% lighter than the 5th box. Find the difference in average weight of the 4 heaviest boxes and the four lightest boxes.
Sol: weight of 1st box=200
weight of 3rd box=(125/100)*200=250
weight of 2nd box=(120/100)*250=300
weight of 4th box =350
weight of 5th box=(10/7)*350=500
average of 4 highest weighted boxes=(500+350+300+250)/4=350
average of 4 lightest boxes=(350+300+250+200)/4=275
therefore difference=350-275=75

4. The length, breadth and height of a room are in the ratio 3:2:1. If the breadth and height are halved, while the length is doubled. Then the total area of the 4 walls of the room will be decreased by
a. 30% 
b. 18.75% 
c. 15% 
d. 13.6%
Sol: Given l:b:h=3:2:1
let h=10, b = 20, and l = 30
area = $2(l + b)h$
area= 2*(3x+2x)*x = $2(30 + 20)10 = 1000$
Now after those adjustments in the measurements,
l=60, b=10, h=5
area= $2(l + b)h$ = $2(60 + 10)5 = 700$
Percentage decrease= $\displaystyle\frac{{1000 - 700}}{{1000}} \times 1000 = 30\% $

5. A circle circumscribes three unit circles that touch each other. What is the area of the larger circle? Note that p is the ratio of the circumference to the diameter of a circle ( 3.14159265).
Sol:

By joining centers of 3 unit circles we will get an equilateral triangle of length 2 unit. We have to find the length of the orange line.
And center of the equilateral triangle will be the center of the big circle.
So radius of the big circle will be = (1 + Circum radius of the equilateral triagle)

Formula for Circul radius of the equilateral triangle = $\displaystyle\frac{2}{3} \times \left( {\frac{{\sqrt 3 }}{2}a} \right)$ here ${\displaystyle\frac{{\sqrt 3 }}{2}a}$ is the height of the triangle.  a is the side of the triangle
Circum radius of equilateral triangle = $\displaystyle\frac{2}{3} \times \displaystyle\frac{{\sqrt 3 }}{2} \times 2 = \displaystyle\frac{2}{{\sqrt 3 }}$

Area of big circle will be =$\pi {r^2} = 3.14 \times {(1 + \displaystyle\frac{2}{{\sqrt 3 }})^2}$ = $3.14 \times \left( {1 + \displaystyle\frac{4}{{\sqrt 3 }} + \frac{4}{3}} \right)$
$ = 3.14 \times \left( {1 + \displaystyle\frac{4}{{\sqrt 3 }} + \frac{4}{3}} \right)$ = $3.14 \times \left( {\displaystyle\frac{7}{3} + \displaystyle\frac{4}{{\sqrt 3 }}} \right)$
 $ = 3.14 \times \left( {\displaystyle\frac{{7 + 4\sqrt 3 }}{3}} \right)$

6. Rajesh calculated his average over the last 24 tests and found it to be 76. He finds out that the marks for three tests have been inverted by mistake. The correct marks for these tests are 87, 79 and 98. What is the approximate percentage difference between his actual average and his incorrect average?
Sol: No Change
Incorrect value is: 78, 97, 89
correct values are: 87, 79, 98
difference between correct and incorrect value is= 9 + 9 -18=0

7. Joke is faster than Paul, Joke and Paul each walk 24 KM. The sum of their speed is 7 Km per hour. And the sum of times taken by them is 14 hours. Then, Joke speed is
a. 3 KM/Hr 
b. 4 KM/Hr 
c. 5 KM/Hr 
d.7 KM/Hr
Sol:
$Speed = \displaystyle\frac{{Distance}}{{{\rm{Time}}}}$
let the speed of joke x then speed of paul will be 7-x
$\displaystyle\frac{{24}}{x} + \displaystyle\frac{{24}}{{7 - x}} = 14$
Try to plugin the values from the options. If Joke speed is 4 the paul is 3.

8. The crew of a rowing team of 8 members is to be chosen from 12 men (M1, M2, …., M12) and 8 women (W1, W2,…., W8), such that there are two rows, each row occupying one the two sides of the boat and that each side must have 4 members including at least one women. Further it is also known W1 and M7 must be selected for one of its sides while M2, M3 and M10 must be selected for other side. What is the number of ways in which rowing team can be arranged.
SoL:
We need two person for one side and 1 women for the another side.  We select that women in 7 ways. Now that second side people can sit in 7x4! ways.
Now for the first side we need two people from the remaining 14. So this can be done in ${}^{14}{C_2}$ ways and this side people can sit in ${}^{4}{C_2} \times 4!$ ways.
Again the first group may take any of the two sides.  So total ways are $2 \times 7 \times 4! \times {}^{14}{C_2} \times 4!$

9. In a certain city, 60% of the registered voters are congress supporters and the rest are BJP supporters. In an assembly election, if 75% of the registered congress supporters and 20% of the registered BJP supporters are expected to vote for candidate A, what percent of the registered voters are expected to vote for candidate A?
Sol: let the people in the city be 100
Congress supporters = 60% of 100 = 60
40% are BJP=40% of 100 = 40
out of 60,75% voted for congress=75%(60)=45
out of 40%,20% voted for congress=20%(40)=8
Total=45 + 8 = 53
Total percent= 53%

10. Anusha, Banu and Esha run a running race of 100 meters. Anusha is the fastest followed by Banu and then Esha. Anusha, Banu and Esha maintain constant speeds during the entire race. When Anusha reached the goal post, Banu was 10m behind. When Banu reached the goal post Esha was 10m behind. How far was behind Anusha when the latter reached the goal post.
option
a) 70
b) 81 
c) 90 
d) 80
Sol:
By that time Anusha covered 100m, Bhanu covered 90m. So ratio of their speeds = 10 : 9
By that time Bhanu reached 100m, Esha covered 90m. So ratio of their speeds = 10 : 9
Ratio of the speed of all the three = 100 :  90 : 81
By that time Anusha covered 100m, Esha Covers only 81.

11. Seven different objects must be divided among three persons. In how many ways this can be done if at least one of them gets exactly one object.
Sol: Division of m+n+p objects into three groups is given by $\displaystyle\frac{{(m + n + p)!}}{{m! \times n! \times p!}}$
But 7 = 1 + 3 + 3 or 1 + 2 + 4 or 1 + 1 + 5
So The number of ways are $\displaystyle\frac{{(7)!}}{{1! \times 3! \times 3!}} \times \frac{1}{{2!}}$ + $\displaystyle\frac{{(7)!}}{{1! \times 2! \times 4!}}$ + $\displaystyle\frac{{(7)!}}{{1! \times 1! \times 5!}} \times \frac{1}{{2!}}$ = 70 + 105 + 21 = 196


12. George while driving along the highway saw road markers which are at equal distances from each other. He crosses the markers every 20 seconds. If he increases his speed by x meters per second, he crosses the markers at every 15 seconds. But if he increases his speed by y meters per second, he crosses the marker at every 10th second. If y-x = 40 meters per second, then what is the distance between two markers.
Sol: Let speed be =z m/s then Distance= 20z m
(z+x)15=20z; (z+y)10=20z
Also given that y - x = 40
solving we get 20z=1200

13. How many different 9 digit numbers can be formed from the number 223355888 by re-arranging its digits so that the odd digits occupy even position?
Sol: Odd places are 4 and these are occupied by 3355. So this can be done in 4!/ (2! 2!) = 6
There are 5 even numbers which have to be placed at 5 odd places. So 5!/(2!3!) = 10 ways
so total number of ways of arranging all these numbers are 10 * 6 = 60 ways

14. In a vessel, there are 10 litres of alcohol. An operation is defined as taking out five litres of what is present in the vessel and adding 10 litres of pure water to it. What is the ratio of alcohol to water after two operations?
a) 1 : 5 
b) 2 : 3 
c) 1 : 6 
d) 3 : 2
Sol: Final concentration = Initial concentration $\left( {1 - \displaystyle\frac{\text{replacement quantity}}{\text{final volume}}} \right)$
Final concentration = ${\rm{ =   1}} \times \left( {{\rm{1 - }}\displaystyle\frac{{10}}{{15}}} \right) = \displaystyle\frac{1}{3}$

Final concentration = $\displaystyle\frac{1}{3} \times \left( {{\rm{1 - }}\frac{{10}}{{20}}} \right) = \displaystyle\frac{1}{6}$
So ratio of alcohol : water = 1 : 5



TCS Ninja, Digital, NQT Latest Placement Questions with solutions - 17

1. A manufacturer of chocolates makes 6 different flavors of chocolates. The chocolates are sold in boxes of 10. How many “different” boxes of chocolates can be made?
Sol:
If n similar articles are to be distributed to r persons, ${x_1} + {x_2} + {x_3}......{x_r} = n$ each person is eligible to take any number of articles then the total ways are ${}^{n + r - 1}{C_{r - 1}}$
In this case ${x_1} + {x_2} + {x_3}......{x_6} = 10$
in such a case the formula for non negative integral solutions is ${}^{n + r - 1}{C_{r - 1}}$
Here n =6 and r=10. So total ways are ${}^{10 + 6 - 1}{C_{6 - 1}}$ = 3003

2. In a single throw with two dice, find the probability that their sum is a multiple either of 3 or 4.
a. 1/3 
b. 1/2 
c. 5/9 
d. 17/36
Sol: Their sum can be 3,4,6,8,9,12
For two dice, any number from 2 to 7 can be get in (n-1) ways and any number from 8 to 12 can be get in (13 - n) ways.
Then possible ways are 2 + 3 + 5 + 5 + 4 + 1 = 20 possible cases.
So probability is (20/36)=(5/9)

3. B alone can do piece of work in 10 days. A alone can do it in 15 days. If the total wages for the work is Rs 5000, how much should B be paid if they work together for the entire duration of the work?
a. 2000 
b. 4000 
c. 5000 
d. 3000
Sol:
Time taken by A and B is in the ratio of =  3:2
Ratio of  the Work = 2 : 3 (since, time and work are inversely proportional)
Total money is divided in the ratio of 2 : 3 and B gets Rs.3000

4. On a 26 question test, 5 points were deducted for each wrong answer and 8 points were added for right answers. If all the questions were answered how many were correct if the score was zero.
a. 10 
b. 11 
c. 13 
d. 12
Sol:
Let x ques were correct. Therefore, (26- x) were wrong
$8x - 5(26 - x) = 0$
Solving we get x=10

5. Arun makes a popular brand of ice cream in a rectangular shaped bar 6cm long, 5cm wide and 2cm thick. To cut costs, the company had decided to reduce the volume of the bar by 19%. The thickness will remain same, but the length and width will be decreased by some percentage. The new width will be,
a. 5.5
b. 4.5 
c. 7.5 
d. 6.5
Sol:
Volume =$l \times b \times h$ = $6 \times 5 \times 2$  = 60 $c{m^3}$
Now volume is reduced by 19%.
Therefore, new volume = $\displaystyle\frac{{(100 - 19)}}{{100}} \times 60 = 48.6$
Now, thickness remains same and let length and breadth be reduced to x%
so, new volume: $\left( {\displaystyle\frac{x}{{100}} \times 6} \right)\left( {\displaystyle\frac{x}{{100}} \times 5} \right)2 = 48.6$
Solving we get x =90
thus length and width is reduced by 10%
New width = 5-(10% of 5)=4.5

6. If all the numbers between 11 and 100 are written on a piece of paper. How many times will the number 4 be used?
Sol: We have to consider the number of 4's in two digit numbers. _ _
If we fix 4 in the 10th place, unit place be filled with 10 ways.  If we fix 4 in units place, 10th place be filled with 9 ways (0 is not allowed)
So total 19 ways.
Alternatively: 
There are total 9 4's in 14, 24, 34...,94
& total 10 4's in 40,41,42....49
thus, 9+10=19.

7. If twenty four men and sixteen women work on a day, the total wages to be paid is 11,600. If twelve men and thirty seven women work on a day, the total wages to be paid remains the same. What is the wages paid to a man for a day’s work?
Sol: Let man daily wages and woman daily wages be M and W respectively
24M+16W=11600
12M+37W=11600
solving the above equations gives M=350 and W=200

8. The cost price of a cow and a horse is Rs 3 lakhs. The cow is sold at 20% profit and the horse is sold at 10% loss. Overall gain is Rs 4200. What is the cost price of the cow?
Sol:
Profit = 4200
Profit =SP - CP
4200=SP - 300000 therefore SP=304200
x+y = 300000
1.2x + 0.9y = 304200
Solving for x = 114000 = CP of cow.

9. 1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4...... 
In the above sequence what is the number of the position 2888 of the sequence. 
a) 1
b) 4
c) 3 
d) 2
Sol: First if we count 1223334444. they are 10
In the next term they are 20
Next they are 30 and so on
So Using $\displaystyle\frac{{n(n + 1)}}{2} \times 10 \le 2888$

For n = 23 we get LHS as 2760.  Remaining terms 128.

Now in the 24th term, we have 24 1's, and next 48 terms are 2's.  So next 72 terms are 3's. 
The 2888 term will be “3”.

10. How many 4-digit numbers contain no.2?
Sol: Total number of four digit numbers =9000 (i.e 1000 to 9999 )
We try to find  the number of numbers not having digit 2 in them.
Now consider the units place it can be selected in 9 ways (i.e 0,1,3,4,5,6,7,8,9)
Tens place it can be selected in 9 ways (i.e 0,1,3,4,5,6,7,8,9)
Hundreds place it can be selected in 9 ways (i.e 0,1,3,4,5,6,7,8,9)
Thousands place can be selected in 8 ways (i.e 1,3,4,5,6,7,8,9) here '0' cannot be taken
Total number of numbers not having digit 2 in it =9 x 9  x 9 x 8 =5832
Total number of numbers having digit 2 in it = 9000-5832 =3168




TCS Ninja, Digital, NQT placement questions - 16

1. The value of diamond varies directly as the square of its weight. If a diamond falls and breaks into two pieces with weights in the ratio 2:3. what is the loss percentage in the value?
Sol: Let weight be “x”
the cost of diamond in the original state is proportional to $x^2 $
when it is fallen it breaks into two pieces 2y and the 3y
x = 5y
Original value of diamond = $(5y)^2 $ = $25y^2 $
Value of diamond after breakage = $(2y)^2  + (3y)^2  = 13y^2 $
so the percentage loss will be = $\displaystyle\frac{{25y^2  - 13y^2 }}{{25y^2 }} \times 100 = 48\% $

2. Five college students met at a party and exchanged gossips. Uma said, “Only one of us is lying”. David said, “Exactly two of us are lying”. Thara said, “Exactly 3 of us are lying”. Querishi said, “Exactly 4 of us are lying”. Chitra said “All of us are lying”. Which one was telling the truth? 
a)David 
b)Querishi 
c)Chitra 
d)Thara
Sol:  As all are contradictory statements, it is clear that ONLY one of them is telling the truth. So remaining 4 of them are lying. Querishi mentioned that exactly 4 are lying. So, he is telling the truth.
Explanation: Let us 1st assume that Uma is telling the truth. Then according to her only one is lying. But if only one is lying then all the others’ statements are contradicting the possibility. In the same way all the other statements should be checked. If we assume the Querishi is telling the truth, according to him exactly 4 members are lying. So all the others are telling lies and he is the one who is telling the truth. This case fits perfectly.

3. Cara, a blue whale participated in a weight loss program at the biggest office. At the end of every month, the decrease in weight from original weight was measured and noted as 1, 2, 6, 21, 86, 445, 2676. While Cara made a steadfast effort, the weighing machine showed an erroneous weight once. What was that. 
a) 2676 
b) 2 
c) 445 
d) 86
SOL: This is a number series problem nothing to do with the data given.
1x 1+1=2
2 x 2+2=6
6 x 3+3=21
21 x 4+4=88 and not 86
88 x 5+5 = 445
445*6+6 = 2676

4. The letters in the word ADOPTS are permuted in all possible ways and arranged in alphabetical order then find the word at position 42 in the permuted alphabetical order?
a) AOTDSP
b) AOTPDS
c) AOTDPS
d) AOSTPD
SOL:
In alphabetical order : A D O P S T
A _ _ _ _ _ : the places filled in 5! ways = 120, But we need a rank less than 120.  So the word starts with A.
A D _ _ _ _ : empty places can be filled in 4!=24
A O _ _ _ _ : the places filled with 4! ways = 24.  If we add 24 + 24 this total crosses 42. So We should not consider all the words starting with AO.
A O D _ _ _ : 3!= 6
A O P _ _ _ : 3!=6
Till this 36 words are obtained, we need the 42nd word.
AOS _ _ _ : 3!= 6
 Exactly we are getting the sum 42. So last 3 letters in the descending order are TPD.
So given word is AOSTPD

4. A man who goes to work long before sunrise every morning gets dressed in the dark. In his sock drawer he has 6 black and 8 blue socks. What is the probability that his first pick was a black sock, but his second pick was a blue sock?
SOL:  This is a case of without replacement.  We have to multiply two probabilities.  1. Probability of picking up a black sock, and probability of picking a blue sock, given that first sock is black.
$\displaystyle\frac{{{}^6C_1 }}{{{}^{14}C_1 }} \times \displaystyle\frac{{{}^8C_1 }}{{{}^{13}C_1 }} = \displaystyle\frac{{24}}{{91}}$

5. There are 6 red balls,8 blue balls and 7 green balls in a bag. If 5 are drawn with replacement, what is the probability at least three are red?
Sol: At least 3 reds means we get either : 3 red  or  4 red or 5 red. And this is a case of replacement.
case 1 : 3 red balls : 6/21 x 6/21 x 6/21 x 15/21 x 15/21
case 2 : 4 red balls : 6/21 x 6/21 x 6/21 x 6/21 x 15/21
case 3 : 5 red balls : 6/21 x 6/21 x 6/21 x 6/21 x 6/21

Total probability =  = (6/21 x 6/21 x 6/21 x 15/21 x 15/21)+(6/21 x 6/21 x 6/21 x 6/21 x (15 )/21)+ (6/21 x 6/21 x 6/21 x 6/21 x 6/21)
 = 312/16807

6. Total number of 4 digit number do not having the digit 3 or 6.
Sol:
consider 4 digits  _ _ _ _
1st blank can be filled in ${}^7{C_1}$ ways (0,3,6 are neglected as the first digit should not be 0)
2st blank can be filled in ${}^8{C_1}$ ways (0 considered along with 1,2,4,5,7,8,9)
3st blank can be filled in ${}^8{C_1}$ ways
4st blank can be filled in ${}^8{C_1}$  ways
Therefore total 4 digit number without 3 or 6 is 7 x 8 x 8 x 8=3584

7. Find the missing in the series:  70, 54, 45, 41,____.
Sol: 40
70-54 = 16 = ${4^2}$
54-45 = 9 = ${3^2}$
45-41 = 4 = ${2^2}$
41-40 = 1 = ${1^2}$

8. A school has 120, 192 and 144 students enrolled for its science, arts and commerce courses. All students have to be seated in rooms for an exam such that each room has students of only the same course and also all rooms have equal number of students. What is the least number of rooms needed?
Sol:  We have to find the maximum number which divides all the given numbers so that number of roots get minimized.  HCF of 120,192 & 144 is 24.  Each room have 24 students of the same course.
Then rooms needed $\displaystyle\frac{{120}}{{24}} + \displaystyle\frac{{192}}{{24}} + \displaystyle\frac{{144}}{{24}}$  = 5 +8 + 6 = 19

9. A farmer has a rose garden. Every day he picks either 7,6,24 or 23 roses. When he plucks these number of flowers the next day 37,36,9 or 18 new flowers bloom. On Monday he counts 189 roses. If he continues on his plan each day, after some days what can be the number of roses left behind? (Hint : Consider number of roses remaining every day)
a)7 
b)4
c)30 
d)37
Sol:
let us consider the case of 23. when he picks up 23 roses the next day there will be 18 new, so in this case., 5 flowers will be less every day. So when he counts 189, the next day 184, 179,174,169,................
finally the no. of roses left behind will be 4.

10. What is the 32nd word of "WAITING" in a dictionary?
Sol: Arranging the words of waiting in Alphabetical Order : A,G,I,I,N,T,W
Start with A_ _ _ _ _ _ This can be arranged in 6!/2! ways=720/2=360 ways
so can't be arranged starting with A alone as it is asking for 32nd word so it is out of range
AG_ _ _ _ _then the remaining letters can be arranged in 5!/2! ways so,120/2=60 ways.  Out of range as it has to be within 32 words.
AGI_ _ _ _ Now the remaining letters can be arranged in 4! ways =24
AGN _ _ _ _ can be arranged in 4!/2! ways or 12 ways
so,24+12 =36th word so out of range. So we should not consider all the words start with AGN
now AGNI_ _ _can be arranged in 3! ways =6 ways
so 24+6=30 within range
Now only two word left so, arrange in alphabetical order.
AGNTIIW  - 31st word
AGNTIWI  - 32nd word



Seating and Complex Arrangements

Arrangement problems are quite common in all entrance examinations. If you follow the instructions given below, you can easily solve any problem given.  First we learn different types of arrangements and tips to crack.

There are three types of arrangements:
1. Linear Arrangements : There are people sit in a row
2. Circular Arrangements : People sit in a row facing center.  In most of the cases, problems with 6, 8 people given. 
3. Complex Arrangements : In these questions, There are some persons or things which eat different foods, wear different colored shirts, use different bikes, have some first and last names etc. We have to match these persons and their interests according to the conditions given. 

Tips in solving linear and circular arrangement problems:

1. Always start filling in the details with Specific Statements. 
There are two types of statements given: 1. Specific 2. Non specific
Specific statements always give only one type of arrangement.  For example: D sits immediate left of F. So we have to put the combination DF in the diagram. 
C sits opposite to A.  This also a specific arrangement in a circular diagram as there is no other way to represent this. 

Example for non-specific statements is B and E sits next to each other.  This gives two types of arrangement. BE and EB. 
A sits in between C and D. This gives CAD and DAC. 
So never solving question with statements like this.  

2. Search for some continuation statement:
If the first statement starts with D and F, search for another statement which has either D or F in that.  So that it will give you some continuation.  

3. Draw the diagrams in the circular arrangement according to the shown below
Remember: Left side in a circular arrangement is always clock wise and right side means anti - clock wise. 


Set 1:  
Six persons A, B, C, D, E and F are sitting around a circular table facing the center.
I.  C is sitting in-between A and F.
II.  B is sitting two places to the left of E.
III.  D is sitting two places to the right of F.

1. Between which two persons does D is sitting?
a. F-B
b. E-b
c. C-B
d. A-B

2. Who is sitting diagonally opposite to A ?
a. F
b. C
c. E
d. None of these

From statement 3, F _ DFrom statement 2, B _ ESol: From statement 1, ACF / FCA 
We can start with either statement 2 or 3, but starting with statement 3 gives us continuation with statement 1. 
D sits to the right of F so When we fix F, we have to write D two places after Anti clock wise direction. Now ACF or FCA possible. ACF is not possible as D occupied so FCA possible.  B sits to the left of E. So Fix E and after D fix B. 

So Option B and Option B are correct. 

Set 2:  
Eleven students A, B, C, D, E, F, G, H, I, J and K are sitting in a row of the class facing the teacher. D, who is to the immediate left of F, is second to the right of C.  A is second to the right of E, who is at one of the ends. J is the immediate neighbor of A and B and third to the left of G. H is to the immediate left of D and third to the right of I. 

3. Who is sitting in the middle of the row?
a. C          
b. I          
c. B            
d. G   
e. None

4. Which of the following groups of friends is sitting to the right of G?
a. IBJA 
b. ICHDF            
c. CHDF 
d. CHDE
Sol: _ _ _ _ _ _ _ _ _ _ _ _
Let us code all the given statements into some notation format so that it saves lot of time in going back and forth to the question. 
1. D, who is to the immediate left of F, is second to the right of C.  
This implies, D is sitting immediate left of F and D is setting second to the right of C. 
DF, C _ D
2. A is second to the right of E, who is at one of the ends. 
If E sits at one of the end he must sits at left end. Then only the following arrangement possible. 
E _ A
3. J is the immediate neighbor of A and B and third to the left of G.
AJB / BJA possible and J _ _ G
Therefore, A J B _ G /  B J A _ G 
4. H is to the immediate left of D and third to the right of I. 
HD and I _ _ H
From 1, C _ D F 
From 4, I _ _ H D
From 1 and 4, I _ C H D F ----(1)
From 3, A J B _ G or B J A _ G possible
If we consider 2 also, above statement becomes, E _ A J B _ G  - - - - - (2)
Now from 1 and 2, we have three possibilities. 1. F sits to the left of E 2. I sits to the right of F.
These two are not possible as total places are becoming more than 11. Now I should occupy the position between B and G.
So E _ A J B I G C H D F is the right arrangement. 
The remaining person K occupy the position between E and A. 

Now answers for the above questions are Option B and C.

Solving Complex Arrangement Questions:

1. Amit, Bharati, Cheryl, Deepak and Eric are five friends sitting in a restaurant. They are wearing caps of five different colours — yellow, blue, green, white and red. Also they are eating five different snacks — burgers, sandwiches, ice cream, pastries and pizza.
I. The person wearing a red cap is eating pastries.
II. Amit does not eat ice cream and Cheryl is eating sandwiches.
III. Bharati is wearing a yellow cap and Amit wearing a blue cap.
IV. Eric is eating pizza and is not wearing a green cap.

8. What is Amit eating?
a. Burgers 
b. Sandwiches 
c. Ice cream 
d. Pastries

9. Who among the following friends is wearing the green cap?
a.  Amit 
b. Bharati  
c. Cheryl 
d. Deepak

10. Who among the following friends is having ice cream?
a. Amit 
b. Bharati 
c. Cheryl 
d. Deepak
Sol: In this question, there are 3 variables.  Name of the person, Color of the caps, and Snacks they take. 
Never try to write all the names and try to match them.  This is a bad habit.  Try this method. 
1.  Identify one variable and write all the names belong to it below it.  Only write the variable names on both sides of this column


Now try to fill in the details in the table according the conditions given.


After Filling in all the available details, table looks like above.  Now we have to fit Pastries and Red some where.  Only one place left.  It must be at D. Once you fit that one, C's color becomes Green and E's become white.  Similarly B takes Ice cream and A takes Burger.  So final table looks like this


So answers for the above questions are A, C and B respectively.  
Complex arrangement problems are not this much straight forward. But the procedure to solve any question is like this.  
If there are more variables, the complexity increases.  But with adequate practice you can solve the questions easily.  




Installments in Compound Interest

Do you know, If someone wants to buy a Motor Cycle, or a costly mobile or if your father wants to purchase a new flat, they generally take loan from a bank or from a financier.  They need to pay monthly installments.  Today, across the world, all the EMI's (Equated monthly Installments) are being calculated on compound interest.  So after reading this article, you must be in a position to calculate the EMI you are going to pay for your new scooter purchase!!

Before that, let us try to understand the meaning of compounding and discounting. We know that daily prices of the goods increase at a rate. Assume, A product which costs Rs.100 costs Rs.110 next year and Rs.121 that next year.  Suppose, You lend Rs.100 to your friend and he promised to give you Rs.100 after 1 year.  Do you accept it? Out of friendship we accept.  But think like a financier. If you receive Rs.100 after 1 year the value of this 100 rupee may not buy the same amount of goods it would have purchased today as the prices went up to Rs.100.  So we need to charge some interest. So how much is the interest?
We use the formula of compound interest.
$P\left( {1 + \displaystyle\frac{R}{{100}}} \right) = A \Rightarrow 100\left( {1 + \displaystyle\frac{R}{{100}}} \right) = 110$
It is clear that interest rate is 10%
That means, if the interest rate is 10%, Rs.100 today is equal to Rs.110 earned after 1 year and Rs.121 after 2 years.


Formula for installments in Compound Interest:

If a buyer sells a product to you at full payment get some interest on your amount for n periods. This total amount should equal to sum of all EMI's and the interests accrued on each EMI  for the remaining period. Then only the seller did not get any loss.
Assume we have taken a loan at period 0 and have to pay installments at the end of 1, 2, 3, 4th periods of x each. 
Now  loan amount plus the interest on the total loan amount P at R% rate for 4 periods is equal to all the EMI's and interests earned for the remaining period.  That is the EMI in the period 2 earns 2 periods interest and EMI in the 3rd period earns only 1 period interest. 
$P\left( {1 + \displaystyle\frac{R}{{100}}} \right)^4$  = $x\left( {1 + \displaystyle\frac{R}{{100}}} \right)^3$  + $x\left( {1 + \displaystyle\frac{R}{{100}}} \right)^2$  + $x\left( {1 + \displaystyle\frac{R}{{100}}} \right)^1$  + $x$


Present Value method:

We should also solve this problem by Present Value (PV method).  You learn this concept in any finance text book!!
We already learnt that Rs.110 earned after 1 year is equal to Rs.100 earned today if the interest rate is 10%
So Rs.110 discounted at 10% gives you Rs.100.  Don't worry how to do this. This is quite simple. You have to calculate P from the compound interest formula. 
$P = \displaystyle\frac{A}{{\left( {1 + \displaystyle\frac{R}{{100}}} \right)^n }}$
Here A = Rs.110, R = 10%, n = 1. 
From the above diagram, if we have taken loan for 4 periods, the last installment should discount for 4 periods and so on. 
So $P$ = $\displaystyle\frac{x}{{\left( {1 + \displaystyle\frac{R}{{100}}} \right)^1 }}$ + $\displaystyle\frac{x}{{\left( {1 + \displaystyle\frac{R}{{100}}} \right)^2 }}$ + $\displaystyle\frac{x}{{\left( {1 + \displaystyle\frac{R}{{100}}} \right)^3 }}$ + $\dfrac{x}{{\left( {1 + \displaystyle\frac{R}{{100}}} \right)^4 }}$


General Discussion On EMI's: 
Suppose you have taken a loan of Rs.100000 to buy a house at 12% rate to be paid EMI's for 60 months.
They use this formula EMI = $\displaystyle\frac{{P \times r \times (1 + r)^n }}{{\left( {1 + r} \right)^n  - 1}}$

Here r = Rate / 1200
n = periods (5 years = 60 periods)

Sample Loan Schedule: 
CarWale EMI Schedule
Following  Schedule Is For : 100000 to repay in 60 months.
All calculations are based on EMI in Arrears(i.e. Rear Ended EMI's).
EMI Number
EMI Amount
Interest Amount
Principal Reduction
Balance Due
1.
Rs.2224
Rs.1000
Rs.1224
Rs.98776
2.
Rs.2224
Rs.988
Rs.1237
Rs.97539
3.
Rs.2224
Rs.975
Rs.1249
Rs.96290
4.
Rs.2224
Rs.963
Rs.1262
Rs.95028
5.
Rs.2224
Rs.950
Rs.1274
Rs.93754

Monthly interest is 1% per month. Now after 1 month, interest accrued is 1000.  Of the total EMI of Rs.2224, Rs.1000 used for interest and the remaining Rs.1224 for principal reduction.  Now Balance of Rs.98776 becomes the principal for next month. So interest is 987.7 or Rs.988. 




Installments in Simple Interest

1. A watch is sold for Rs.440 cash or for Rs.200 cash down payment together with Rs.244 to be paid after one month. Find the rate of interest charged in the installment scheme.
a. 10%
b. 15%
c. 20%
d. 25%


2. A cell phone is available for Rs. 600 or for Rs.300 cash down payment together with Rs.360 to be paid after two months. Find the rate of interest charged under this scheme.
a. 20%
b. 50%
c. 120%
d. None


3. Samsung mobile phone is available for Rs.2500 cash or Rs.520 cash down payments followed by 4 equal installments. If the rate of interest charged is 25% per annum Simple interest, calculate the monthly installment
a. 520
b. 480
c. 550
d. None of these


4. Kishore purchases a track suit for Rs.2400 cash or for Rs.1000 cash down payments and two monthly installments of Rs.800 each. Find the rate of interest.
a. 75%
b. 120%
c. 50%
d. None of these


5. What annual installment will discharge a debt of Rs 2,360 due in four years at 12% p.a. simple interest?
a. 400
b. 500
c. 300
d. 600


6. Hiralal gave a loan of Rs. 20 to Ramlal and recovered it at the rate of Rs 3.50 for eight months, commencing from the end of 1st month. What is the effective rate of simple interest?
a. 60%
b. 80%
c. 20%
d. 90%


7. Find the amount of equal installment, annual payment of which will discharge a debt of Rs. 848 due in 4 years at 4% p.a. of Simple interest.
a. Rs.200
b. Rs.225
c. Rs.240
d. Rs.255


8. Find the amount of debt that will be discharged by 5 equal installments of Rs. 200 each, if the debt is due in 5 year at 5% p.a.
a. Rs.1100
b. Rs.1200
c. Rs.1255
d. Rs.1400


9. Gopal borrows Rs 1,00,000 from a bank at 10% p.a. simple interest and clears the debt in five years. If the installments paid at the end of the first, second, third and fourth years to clear the debt are Rs 10,000, Rs 20,000, Rs 30,000 and Rs 40,000 respectively, what amount should be paid at the end of the fifth year to clear the debt?
a. Rs.20,000
b. Rs.24,500
c. Rs.30,000
d. Rs.35,900




Fibonacci Series and Golden ratio

Golden Ratio: 

If the ratio of a+b to a is equal to a to b then that ratio is called Golden ratio

$\displaystyle\frac{{a + b}}{a} = \displaystyle\frac{a}{b}$ = $\varphi $

This greek letter "$\varphi $" is called golden ratio which is equal to $\displaystyle\frac{{1 + \sqrt 5 }}{2}$
From the above ratio, we get 
$\displaystyle\frac{{a + b}}{a} = 1 + \frac{b}{a} = \varphi  \Rightarrow 1 + \frac{1}{\varphi } = \varphi $
$ \Rightarrow \varphi ^2  - \varphi  - 1 = 0$
The roots of the above equation are $\displaystyle\frac{{1 \pm \sqrt 5 }}{2}$ But we have to take only the positive value $\displaystyle\frac{{1 + \sqrt 5 }}{2}$ as this ratio is positive. 
In general $\displaystyle\frac{{1 + \sqrt 5 }}{2}$ is represented with $\varphi $ and $\displaystyle\frac{{1 - \sqrt 5 }}{2}$ is represented with ${\hat \varphi }$
Here $\varphi $ = 1.618 and ${\hat \varphi }$ = - 0.618

First 20 Fibonnaci numbers : 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, 4181, 6765

Finding nth term of a Fibonacci series: 

nth term of a fibonnacci series 1, 1, 2, 3, 5, 8, ........... = $\displaystyle\frac{{\left( {\displaystyle\frac{{1 + \sqrt 5 }}{2}} \right)^n  - \left( {\displaystyle\frac{{1 - \sqrt 5 }}{2}} \right)^n }}{{\sqrt 5 }}$

Copy paste this in google chrome bar ((1+sqrt 5)/2)^n/sqrt 5-((1-sqrt 5)/2)^n/sqrt 5 Change n by your required number.

For quick Approximation you can use this (1.618^n)+(-0.618)^n) / sqrt 5

Sum of the fibobbacci series ${F_1} + {F_2} + {F_3} + ...... + {F_n} = {F_{n + 2}} - 1$

Some Amazing results:

1. Sum of the squares of n fibonacci terms is equal to the product of nth term and (n+1)th term.
For example, $1^2  + 1^2  + 2^2  + 3^2  + 5^2  + 8^2  + 13^2  + 21^2  + 34^2  + 55^2  = $55 x 89 = 4895

2. Difference between any two consecutive Fibonacci squares is equal to another Fibonacci number
$F_n ^2  - F_{n - 2} ^2  = F_{2n - 2} $
$F_6 ^2  - F_4 ^2  = 8^2  - 3^2  = 55 = F_{10} $
$F_7 ^2  - F_5 ^2  = 13^2  - 5^2  = 144 = F_{12} $

3. The product of two consecutive fibonnacci numbers is equal to the square of the middle number $ \pm $ 1
$F_n  \times F_{n - 2}  = F_n ^2  \pm 1$
$F_4  \times F_6  = 3 \times 8 = 24 = 5^2  - 1 = F_5 ^2  \pm 1$

Fibonacci series starting with 1 and 6:

If the Fibonacci series start with 1 and 6, then the series goes like this. 1, 6, 7, 13, 20, 33, 53, 88, ...
In this case how do we find the general term of this series.
Here $x_0  = 1$ and  $x_1  = 6$
So It takes the form of $x_n  = A\varphi ^n  + B\hat \varphi ^n $
For x = 0, 1 = A + B --------(1)
For x = 1, $6 = A\varphi  + B\hat \varphi $ -------(2)
Here $\varphi  = \displaystyle\frac{{1 + \sqrt 5 }}{2}$ and $\hat \varphi  = \displaystyle\frac{{1 - \sqrt 5 }}{2}$
Multiplying the (1) with $\varphi $ and Substracting from 2, 
$A\varphi  + B\hat \varphi  = 6$
$A\varphi  + B\varphi  = \varphi $
---------------------------
$B(\hat \varphi  - \varphi ) = 6 - \varphi $
$B = \displaystyle\frac{{6 - \varphi }}{{\hat \varphi  - \varphi }} = \frac{{\varphi  - 6}}{{\sqrt 5 }} = \frac{{\frac{{\sqrt 5  + 1}}{2} - 6}}{{\sqrt 5 }} = \frac{{\sqrt 5  - 11}}{{2\sqrt 5 }} = \frac{{5 - 11\sqrt 5 }}{{10}}$
A = 1- B = $\displaystyle\frac{{5 + 11\sqrt 5 }}{{10}}$

Now general term of this series = $\left( {\displaystyle\frac{{5 + 11\sqrt 5 }}{{10}}} \right)\left( {\displaystyle\frac{{1 + \sqrt 5 }}{2}} \right)^n  + \left( {\displaystyle\frac{{5 - 11\sqrt 5 }}{{10}}} \right)\left( {\displaystyle\frac{{1 - \sqrt 5 }}{2}} \right)^n $

Sum of the n terms of this series =  ${F_1} + {F_2} + {F_3} + ...... + {F_n} = {F_{n + 2}} - 6$



Finding Maxima and Minima of functions with more than 2 variables

When a function has one variable we know how to find the maxima and minima of the function by differentiating and equating to zero to find the points.

But when a function has more than two variables, we use partial differentiation to find the maxima and minima.

1. $f(x,y) = {x^3} + 3x{y^2} + 2xy$ subject to the condition x + y = 4
Sol: The local maximum and minimum of f(x,y) subject to the constraint g(x,y)=0 correspond to the stationary points of $L(x,y,\lambda ) = f(x,y) - \lambda .g(x,y)$
where $\lambda $ is Lagrange multiplier.
We have $L(x,y,\lambda ) = {x^3} + 3x{y^2} + 2xy - \lambda .(x + y - 4)$
Now $\displaystyle\frac{{\partial L}}{{\partial x}} = 3{x^2} + 3{y^2} + 2y - \lambda $
$\displaystyle\frac{{\lambda L}}{{\lambda y}} = 6xy + 2x - \lambda $
$\displaystyle\frac{{\partial L}}{{\partial y}} = 6xy + 2x - \lambda $
$\displaystyle\frac{{\partial L}}{{\partial \lambda }} =  - (x + y - 4)$

Note: in doing partial differentiation, except the independent variable everything is considered a constant.  For example, when we do differentiation w.r.t x then, except x all others should be considered constant.
Also $\displaystyle\frac{d}{{dx}}({x^n}) = n.{x^{n - 1}}$

Putting $\displaystyle\frac{{\partial L}}{{\partial x}} = \frac{{\partial L}}{{\partial y}} = \frac{{\partial L}}{{\partial \lambda }} = 0$
$3{x^2} + 3{y^2} + 2y = \lambda $ ------(1)
$6xy + 2x = \lambda $ -----(2)
x + y - 4 = 0 ------------(3)
From equations (1) and (2) we get $3{x^2} + 3{y^2} + 2y = 6xy + 2x$ --------(4)
Putting y = - x + 4 in equation (4)
we get $3{x^2} + 3{( - x + 4)^2} + 2( - x + 4) = 6x( - x + 4) + 2x$
$3{x^2} + 3({x^2} - 8x + 16) - 2x + 8 =  - 6{x^2} + 24x + 2x$
$12{x^2} - 52x + 56 = 0$
$ \Rightarrow 3{x^2} - 13x + 14 = 0$
$ \Rightarrow (3x - 7)(x - 2) = 0$
$ \Rightarrow x = 2,\displaystyle\frac{7}{3}$

For x = 2, from equation (3) we get y = 2 and F(x,y)) = 40
and for $x = \displaystyle\frac{7}{3}$, $y = \displaystyle\frac{5}{3}$ and F(x,y) = $39\displaystyle\frac{{25}}{{27}}$

Alternatively: By substituting y = x - 4 in the equation f(x, y) = ${x^3} + 3x{y^2} + 2xy$
we get, F(x, 4-x) = ${x^3} + 3x{(4 - x)^2} + 2x(4 - x)$
F(x) = ${x^3} + 3x(16 - 8x + {x^2}) + 2x(4 - x)$
F(x) = $4{x^3} - 26{x^2} + 56x$
Differentiation F with respect to x we get, ${F^1}(x) = 12{x^2} - 52x + 56$
Solving like above we get the values of $ \Rightarrow x = 2,\displaystyle\frac{7}{3}$

2. Find the point on the line 3x + 2y = 5 that is closest to the point (3,1)
Sol:  The distance between a general point (x,y) and the point (3, 1) is $\sqrt {{{(x - 3)}^2} + {{(y - 1)}^2}} $
We want to find the minimum value of this distance subject to the constraint 3x + 2y = 5.  Infact we have to minimize the square of the distance, and so we minimize f(x, y) = ${{{(x - 3)}^2} + {{(y - 1)}^2}}$
subject to the given constraint.
$L(x,y,\lambda ) = {\left( {x - 3} \right)^2} + {\left( {y - 1} \right)^2} - \lambda (3x + 2y - 5)$
$\frac{{\partial L}}{{\partial x}} = 2(x - 3) + 3\lambda $
$\frac{{\partial L}}{{\partial y}} = 2(y - 1) + 2\lambda $
$\frac{{\partial L}}{{\partial \lambda }} =  - 3x - 2y + 5$

Putting $\displaystyle\frac{{\partial L}}{{\partial x}} = \frac{{\partial L}}{{\partial y}} = \frac{{\partial L}}{{\partial \lambda }} = 0$
$2(x - 3) + 3\lambda  = 0$ -------(1)
$2(y - 1) + 2\lambda  = 0$ ------(2)
3x + 2y = 5 ------------(3)

Multiplying (1) by 2 and (2) by 3 will give
$4(x - 3) + 6\lambda  = 0$
$6(y - 1) + 6\lambda  = 0$
So 4(x-3) = 6(y-1) $ \Rightarrow $ 2x - 3y = 3 -------(4)
Multiplying equation (3) by 3 and (4) by 2, gives
9x + 6y = 15
4x - 6y = 6
Solving we get x = $\displaystyle\frac{{21}}{{13}}$ and y = $\frac{{1}}{{13}}$
Thus the point $\left( {\displaystyle\frac{{21}}{{13}},\frac{1}{{13}}} \right)$ is on the given line and closest to (3,1)



Integer solutions using coefficient method

Suppose there are 20 intermediary stations between two stations A and B.  A train can stop at 3 of these stations but there must be minimum 3 stop between any two consecutive stoppings. In how many ways the train can reach its destination.
To solve questions of these type, we should learn a important method called coefficient method.

The number of non - negative integer solutions for the equation ${x_1} + {x_2} + {x_3} + ...{x_r} = n$ is the number of ways of distribution n identical things among r persons. , when each person can get zero, one or more things.  
This is nothing but Coefficient of ${x^n}$ in ${\left[ {1 + x + {x^2} + ......{x^n}} \right]^r}$
The terms in the bracket are in geometric progression with common ratio of x. And they are (n+1) terms.  Applying the geometric progression sum rule
= Coefficient of ${x^n}$ in ${\left( {\displaystyle\frac{{1 - {x^{n + 1}}}}{{1 - x}}} \right)^r}$
= Coefficient of ${x^n}$ in ${\left( {1 - {x^{n + 1}}} \right)^r}{\left( {1 - x} \right)^{ - r}}$
In the first expression, $\left[ {1{ + ^r}{C_1}{x^{n + 1}}{ + ^r}{C_2}{{\left( {{x^{n + 1}}} \right)}^2} + ...} \right]{\left( {1 - x} \right)^{ - r}}$ = ${\left( {1 - x} \right)^{ - r}}$
[first term in the first expression only gives a power of n, all other terms have powers are in the multiples of n+1]
\({\left( {1 - x} \right)^{ - r}} = 1 + {}^r{C_1}\left( x \right) + {}^{r + 1}{C_2}{x^2} + {}^{r + 2}{C_3}{x^3} + ... + \)
Coefficient of ${x^n}$ in the above expansion  = \({}^{n + r - 1}{C_n}\)

How to apply the above formula:
${\left( {1 - x} \right)^{ - 18}} = 1 + {}^{18}{C_1}x + {}^{19}{C_2}{x^2} + {}^{20}{C_3}{x^3} + .......\infty $
 The coefficient of  ${x^3}$ will be calculated by using the formula = ${}^{(n + r - 1)}{C_{n}}$ = ${}^{(3 + 18 - 1)}{C_{3}} = {}^{20}{C_3}$
The coefficient of  ${x^{17}}$ will be calculated by using the formula = ${}^{(n + r - 1)}{C_{n}}$ = ${}^{(17 + 18 - 1)}{C_{17}} = {}^{34}{C_{17}}$

Solved Examples


1. Find the number of positive number of solutions of x + y + z + w = 20 (a)  if "0" is allowed (b) if "0" is not allowed. 
Solution:
This equation is nothing but distributing 20 similar articles to 4 persons. Here n = 20 and r = 4
Applying the formula ${}^{(n + r - 1)}{C_{r - 1}} = {}^{20 + 4 - 1}{C_{4 - 1}} = {}^{23}{C_3} = 1771$.
If 0 is not allowed, the let us give one article each to x, y , z , w. Now assume $x = {x^1} + 1$, $y = {y^1} + 1$, $z = {z^1} + 1$, $w = {w^1} + 1$
So our equation becomes, $({x^1} + 1) + ({y^1} + 1) + ({z^1} + 1) + ({w^1} + 1) = 20$
Now ${x^1},{y^1},{z^1},{w^1}$ can take zero.
So ${x^1} + {y^1} + {z^1} + {w^1} = 16$ and number of intezer solutions for this equation become ${}^{(n + r - 1)}{C_{r - 1}} = {}^{16 + 4 - 1}{C_{4 - 1}} = {}^{19}{C_3} = 969$
Note: When we give r articles each one to r persons we left with (n-r) articles. Now distributions these articles to r persons = ${}^{(n - r) + r - 1}{C_{r - 1}} = {}^{n - 1}{C_{r - 1}}$
If x, y, z , w are graeter than equal to 1, we apply above formula.

2. How many integral solutions exist for x + y + z + w = 29 where $x \ge 1,y \ge 1,z \ge 3$ and $w \ge 0$
Solution:
x + y + z + w = 29
Take $x = {x^1} + 1$, $y = {y^1} + 1$, $z = {z^1} + 3$
Substituting these values in our equation makes it as $({x^1} + 1) + ({y^1} + 1) + ({z^1} + 3) + w = 29$
${x^1} + {y^1} + {z^1} + w = 23$
Number of intezer solutions for the above equation = $^{(n + r - 1)}{C_{r - 1}}{ = ^{23 + 4 - 1}}{C_{4 - 1}}{ = ^{26}}{C_3} = 2600$

3. How many integral solutions are there to the system of equations a+b+c+d+e = 20 and a + b = 15 where "0" is allowed. 
Solution: 
a + b + c + d + e = 20 -----(1)
a + b = 15 ----(2)
From the above two equations, c + d + e = 5 -----(3)
Number of integer solutions for (2) is $^{15 + 2 - 1}{C_{2 - 1}}{ = ^{16}}{C_1} = 16$ and for (3) is $^{5 + 3 - 1}{C_{3 - 1}}{ = ^7}{C_2} = 21$
So total solutions are 16 x 21 = 336

4. Find the number of integer solutions for the equation x + y + z + 4t = 20
Solution:
The values for 4t are 0, 4, 8, 12, 16, 20
By substituting the above values in the given equation, we get x + y + z = 20, x + y + z =  16, x + y + z = 12, x + y + z = 8, x + y + z = 4, x + y + z = 0
Now the solutions for the above equations are $^{20 + 3 - 1}{C_{3 - 1}}{ = ^{22}}{C_2}$, $^{16 + 3 - 1}{C_{3 - 1}}{ = ^{18}}{C_2}$, $^{12 + 3 - 1}{C_{3 - 1}}{ = ^{14}}{C_2}$, $^{8 + 3 - 1}{C_{3 - 1}}{ = ^{10}}{C_2}$, $^{4+ 3 - 1}{C_{3 - 1}}{ = ^{6}}{C_2}$, and 1
So total solutions = $^{22}{C_2}{,^{18}}{C_2}{,^{14}}{C_2}{,^{10}}{C_2}{,^6}{C_2},1$ = 231 + 153 + 91 + 45 + 15 + 1 = 536

5. There are 20 intermediary stations between two stations A and B.  A train can stop at 3 of these stations but there must be minimum 3 stop between those intermediary stoppings. In how many ways the train can reach its destination.
Solution: 
$A,{S_1},{S_2}......{S_K},........{S_L},..........{S_M},..........{S_{20}},B$
Assume that there are P stations between A and ${S_K}$, Q stations between ${S_K}$ and ${S_L}$, R stations between ${S_L}$ and ${S_M}$ and S stations between ${S_M}$ and B.
Now there must be 3 stoppings between ${S_K},{S_L},{S_M}$ but there need not be any stopping between A and the first intermediry and B and the last intermediary stations.
This gives us, P + Q + R + S = 17 (As we have to substract 3 stations from  the sum of intermediary stations)
Here P $ \ge $ 0, Q $ \ge $ 3, R $ \ge $ 3 and S $ \ge $ 0
Substituting $Q = {Q^1} + 3$ and $R = {R^1} + 3$ we get $P + {Q^1} + {R^1} + S = 11$
Now number of intezer solutions for this equation = $^{11 + 4 - 1}{C_{4 - 1}}{ = ^{14}}{C_3}$

Integer solutions when an integer has some minimum and maximum limit:
We have seen already that, how to find integer solutions x + y + z + w = 20 where x, y, z, w may take values from 0 to 20.  But what if when x, y, z, w has a minimum of 3 and maximum limit of 10.  ie., We may not substitute values more than 10 in this equation. So how do we attempt to solve this equation?
Suppose, we have n similar articles may be distributed to 1 person. In how many ways we can distribute 3 articles to this person? In how many ways we can distribute 5 articles to this person? In how many ways n articles to be distributed to this person?
For all above questions, the answer is 1 as all articles are similar there is only 1 ways to choose, 2, 5, n articles from n articles.
So number of ways of distributing K articles to 1 person is the coefficient of ${x^k}$ = $1 + x + {x^2} + {x^3} + ......{x^n}$ which is 1.
Now assume He will get a minimum of 3 and maximum of 6, then we have to consider this equation. ${x^3} + {x^4} + {x^5} + {x^6}$

6. How many integers between 1 to 1000000 have the sum of the digits 18?
Solution:

Any number between 1 to 10000000 has 7 digits. Let us say they are ${a_1},{a_2},{a_3}.....{a_7}$. Now ${a_1} + {a_2} + {a_3} + {a_4} + {a_5} + {a_6} + {a_7} = 18$
Here these variables take a minimum value of 0 but a maximum value of 9.  18, 0, 0, 0, 0, 0, 0 is a solution of the above but this is violating our condition as all the digits are single digit numbers of maximum 9
We have to consider, ${x^{18}}$ coefficient in the expansion of ${({x^0} + {x^1} + {x^2} + {x^3} + {x^4}......{x^9})^6}$
The required number is ${x^{18}}$ coefficient in the expansion of ${\left( {\displaystyle\frac{{1 - {x^{10}}}}{{1 - x}}} \right)^6}$
${x^{18}}$ coefficient in the expansion of ${\left( {1 - {x^{10}}} \right)^6}{\left( {1 - x} \right)^{ - 6}}$
${x^{18}}$ coefficient in the expansion of $\left( {1{ - ^6}{C_1}{x^{10}} + ...} \right){\left( {1 - x} \right)^{ - 6}}$
${x^{18}}$ coefficient in the second expression multiplied by 1 will give us one ${x^{18}}$  and ${x^{8}}$ coefficient in the second expression multiplied by ${x^{10}}$ will give us another ${x^{18}}$ coefficient.
= Coefficient of ${x^{18}}$ in ${\left( {1 - x} \right)^{ - 6}}$ - ${}^6{C_1}$. Coefficient of ${x^{8}}$ in ${\left( {1 - x} \right)^{ - 6}}$
= $^{6 + 18 - 1}{C_{6 - 1}}{ - ^6}{C_1}.{}^{6 + 8 - 1}{C_{6 - 1}} = {}^{23}{C_5} - 6.{}^{13}{C_5} = 25927$

7.  In how many ways can we get a sum of 12 throwing 3 dice. 
Solution:

A single dice shows from 1 to 6. So we have to find the integer solutions for A + B + C = 12 where A, B, C represent the numbers of dice subject to the condition that they take values form 1 to 6.
So we have to find coefficient of ${x^{12}}$ in the expansion ${({x^1} + {x^2} + {x^3} + {x^4} + {x^5} + {x^6})^3}$
= Coefficient of ${x^{12}}$ in ${x^3}{(1 + x + {x^2} + {x^3} + {x^4} + {x^5})^3}$
= Coefficient of ${x^{9}}$ in ${\left( {\displaystyle\frac{{1 - {x^6}}}{{1 - x}}} \right)^3}$
= Coefficient of ${x^{9}}$ in ${\left( {1 - {x^6}} \right)^3}{\left( {1 - x} \right)^{ - 3}}$
= Coefficient of ${x^{9}}$ in $\left( {1 - {}^3{C_1}{x^6} + {}^3{C_2}{x^{12}}...} \right){\left( {1 - x} \right)^{ - 3}}$
Required coefficient is coefficient of ${x^{9}}$ in ${\left( {1 - x} \right)^{ - 3}}$ - ${}^3{C_1}$. Coefficient of ${x^{3}}$ in ${\left( {1 - x} \right)^{ - 3}}$
= $^{9 + 3 - 1}{C_{3 - 1}} - 3.{}^{3 + 3 - 1}{C_{3 - 1}} = {}^{11}{C_2} - 3.{}^5{C_2} = 25$

8. Find the number of non negative integer solutions of the inequality x + y + z $ \le $ 20
Solution:

We add another variable K to this equation to make it an equality
Now x + y + z + K = 20 where K can take any value from 0 to 20 so that we get different solutions for the above equation from 20 to 0.
Now number of solutions for the above equation = $^{(n + r - 1)}{C_{r - 1}}{ = ^{20 + 4 - 1}}{C_{4 - 1}} = {}^{23}{C_3}$

9. If 3 dice are rolled, The number of ways so that the sum of the numbers on them is atleast 9 is
Solution:

We first consider that the maximum sum on the dice is 8.
Now A + B + C $ \le $ 8
Add a variable K to this equation to make it an equality
A + B + C + K = 8 Subjected to the condition A, B, C takes values from 1 to 6 and K take any value from 0 to 8 for the sum of the numbers ranges from 8 to 0
We have to find the coefficient of ${x^{8}}$ in ${({x^1} + {x^2} + {x^3} + {x^4} + {x^5} + {x^6})^3}(1 + x + {x^2} + ...)$
= ${x^3}{(1 + {x^1} + {x^2} + {x^3} + {x^4} + {x^5})^3}(1 + x + {x^2} + ...)$
= Cofficient of ${x^{5}}$ in ${(1 + {x^1} + {x^2} + {x^3} + {x^4} + {x^5})^3}(1 + x + {x^2} + ...)$
= Cofficient of ${x^{5}}$ in ${\left( {\displaystyle\frac{{1 - {x^6}}}{{1 - x}}} \right)^3}{(1 - x)^{ - 1}}$
= Cofficient of ${x^{5}}$ in ${(1 - {x^6})^3}{(1 - x)^{ - 4}}$
= Cofficient of ${x^{5}}$ in  $\left( {1 - {}^6{C_1}{x^{10}} + ...} \right){(1 - x)^{ - 4}}$
= Cofficient of ${x^{5}}$ in ${(1 - x)^{ - 4}}$
= $^{(n + r - 1)}{C_{r - 1}}{ = ^{5 + 4 - 1}}{C_{4 - 1}} = {}^8{C_3} = 56$
Now total number of ways of throwing 3 dice = ${6^3}$ of which we get a sum of 8 or less in 56 ways.  Now to get a sum more than 8 or above = 216 - 56 = 160