Trees and Poles: Count the Gaps
Trees, poles and lamp posts stand at points. The distances lie between them, in the gaps. Almost every slip in this type comes from mixing up the two.
A straight row with a tree at both ends
- Gaps = length ÷ distance between neighbours
- Trees = gaps + 1
For example: a 100 m footpath has a lamp post every 10 m, with a post at both ends. Gaps = 100 ÷ 10 = 10, so there are 11 posts. If this feels odd, draw a 30 m path with posts at 0, 10, 20 and 30 m. That is 3 gaps but 4 posts.
The ends change the count, so read the stem for them.
| What the stem says | Trees |
|---|---|
| a tree at both ends | gaps + 1 |
| a tree at one end only | gaps |
| no tree at either end | gaps − 1 |
Going the other way
If the number of trees is given and you need the length, first find the gaps: gaps = trees − 1. Then length = gaps × distance. For 21 trees 5 m apart, the row is 20 × 5 = 100 m long. Multiplying 21 × 5 = 105 is the usual slip.
Both sides of a road
Work out one side, then double it. Each side is a row of its own with its own two ends.
Around a closed path
On a circular track, or around the edge of a park, the row closes on itself. The last gap brings you back to the first tree, so no extra tree is needed at the end.
Trees = gaps = length of the path ÷ distance
A circular track 400 m long with a flag every 20 m has 400 ÷ 20 = 20 flags, not 21.
For a rectangle, find the perimeter first: 2 × (length + breadth). If the spacing divides both sides exactly, the corners already get a tree in this count. Do not add them again.
A row or loop question should take you 40 to 50 seconds. A quick sketch with 3 or 4 trees settles any doubt about the ends.
Solved Questions
Question 1
Along one side of a straight road 180 m long, electric poles are fixed 12 m apart. There is a pole at both ends of the road. How many poles are there?
(a) 15 (b) 14 (c) 16 (d) 32
Answer. Gaps = 180 ÷ 12 = 15. With a pole at both ends, poles = gaps + 1 = 16.
Picture a short piece of the road: poles at 0, 12 and 24 m make 2 gaps but 3 poles. The answer 15 counts only the gaps. So the answer is (c) 16.
Question 2
The students of Disha's school plant saplings on both sides of a 96 m path that leads to the school garden. On each side the saplings are 8 m apart, with one sapling at each end. How many saplings are planted in all?
(a) 26 (b) 24 (c) 13 (d) 22
Answer. Take one side first. Gaps = 96 ÷ 8 = 12, so one side has 12 + 1 = 13 saplings.
Both sides = 2 × 13 = 26.
Doubling the gaps gives 24, which forgets the extra sapling at the end of each side. So the answer is (a) 26.
Question 3
Poles are fixed along the boundary of a rectangular park 50 m long and 30 m wide. The poles are 5 m apart, and there is a pole at each corner. How many poles are there?
(a) 36 (b) 33 (c) 28 (d) 32
Answer. The boundary is a closed path, so the number of poles equals the number of gaps.
- Perimeter = 2 × (50 + 30) = 160 m
- Poles = 160 ÷ 5 = 32
Since 5 divides both 50 and 30, the corners already have poles in this count. Adding 4 more for the corners gives 36, which counts each corner twice. So the answer is (d) 32.
Cuts and Pieces, Steps and Floors
These two types use the same idea as the trees. Something happens at the points, and something else is counted in the gaps.
Cuts
When a straight rod, rope or log is cut into pieces:
- Pieces = cuts + 1
- Cuts = pieces − 1
The last piece needs no cut of its own.
For example: a 5 m pipe cut into pieces of 50 cm gives 500 ÷ 50 = 10 pieces, and that needs 9 cuts. If each cut takes 2 minutes, the job takes 9 × 2 = 18 minutes, not 20.
A closed ring is different. The first cut only opens the ring, so for a ring, pieces = cuts.
Change the units before you divide. Metres and centimetres in the same question are there to catch a hurried reader.
Steps and floors
In Indian buildings the ground floor comes first, then the 1st floor, the 2nd floor and so on. Going up from the ground floor to the 3rd floor means 3 flights of stairs, not 4.
Flights climbed = higher floor number − lower floor number (take the ground floor as 0)
For example: with 16 steps in each flight, going from the 2nd floor to the 5th floor is 5 − 2 = 3 flights, so 3 × 16 = 48 steps.
Time works the same way. If going up from the ground floor to the 2nd floor takes 40 seconds, each flight takes 20 seconds, and the ground floor to the 6th floor takes 6 × 20 = 120 seconds.
The usual slip is to count the floors you pass instead of the flights you climb. A floor number tells you where you are standing. The number of flights is the gap between two floor numbers.
Solved Questions: Cuts, Steps and Floors
Question 4
At a furniture shop, a carpenter cuts a wooden plank 6 m long into pieces of 75 cm each. Each cut takes him 4 minutes. How long does he take to make all the cuts?
(a) 32 minutes (b) 28 minutes (c) 24 minutes (d) 36 minutes
Answer. Change to centimetres first: 6 m = 600 cm.
- Pieces = 600 ÷ 75 = 8
- Cuts = 8 − 1 = 7, because the last piece is left over without a cut
- Time = 7 × 4 = 28 minutes
Counting 8 cuts gives 32 minutes, the trap answer. So the answer is (b) 28 minutes.
Question 5
In Gaurav's school building, there are 18 steps from one floor to the next. How many steps does Gaurav climb to go from the ground floor to the 4th floor?
(a) 90 (b) 54 (c) 72 (d) 64
Answer. From the ground floor to the 4th floor he climbs 4 flights: ground to 1st, 1st to 2nd, 2nd to 3rd and 3rd to 4th.
Steps = 4 × 18 = 72.
Counting the 5 floors (ground, 1st, 2nd, 3rd and 4th) gives 90, but there are only 4 flights between them. So the answer is (c) 72.
Question 6
Fiza climbs the stairs of a shopping mall at a steady pace. She takes 36 seconds to go from the 1st floor to the 4th floor. How long will she take to go from the ground floor to the 7th floor?
(a) 63 seconds (b) 72 seconds (c) 84 seconds (d) 96 seconds
Answer. From the 1st floor to the 4th floor is 4 − 1 = 3 flights. So one flight takes 36 ÷ 3 = 12 seconds.
From the ground floor to the 7th floor is 7 flights.
Time = 7 × 12 = 84 seconds.
If you take 1st to 4th as 4 flights, you get 9 seconds a flight and 63 seconds in all. Count the flights, not the floors. So the answer is (c) 84 seconds.
Handshakes and Matches
When every pair in a group meets exactly once, count the pairs.
Pairs = n × (n − 1) ÷ 2
Here is where the formula comes from. Each of the n people shakes hands with the other n − 1, which gives n × (n − 1). But every handshake has two people in it, and each of them has counted it. So divide by 2.
For a small group you can simply list the pairs. With 4 friends A, B, C and D the handshakes are AB, AC, AD, BC, BD and CD. That is 6, and 4 × 3 ÷ 2 = 6 as well. Listing is a good check whenever you doubt the formula.
The same count works for matches in a league where each team plays every other team once, and for the lines joining points where no three are in a line.
Variations
- Each pair plays twice (home and away): matches = n × (n − 1). Do not halve.
- Knock-out: every match sends one team home, and every team except the winner must go home. So matches = n − 1, whatever the number of teams.
- Groups first: work out each group on its own, add them, and then add the matches of the later rounds.
- Number of teams asked: if the matches are given, test the options. For 36 matches, try 9 teams: 9 × 8 ÷ 2 = 36.
The usual trap answer is the one where the division by 2 was forgotten, so each handshake has been counted twice. Before you mark n × (n − 1), check whether the question really wants every pair twice.
[SSC Tip] A handshake or match question should take 40 to 50 seconds. For a reverse question, start with an option of middle size. If it gives too many matches, the answer is a smaller option, and if too few, a bigger one.
Solved Questions: Handshakes and Matches
Question 7
At the annual meeting of a tennis club, each of the 12 members present shook hands with every other member exactly once. How many handshakes took place?
(a) 132 (b) 66 (c) 78 (d) 144
Answer. Each member shakes 11 hands, which gives 12 × 11 = 132. But every handshake has two people, so it has been counted twice.
Handshakes = 12 × 11 ÷ 2 = 66.
Check the idea on a tiny group: 3 people A, B and C make AB, AC and BC. That is 3 handshakes, and 3 × 2 ÷ 2 = 3. So the answer is (b) 66.
Question 8
In a hockey tournament, each team played every other team exactly once, and 28 matches were played in all. How many teams took part?
(a) 7 (b) 14 (c) 9 (d) 8
Answer. Matches = n × (n − 1) ÷ 2. Test the options.
- 7 teams: 7 × 6 ÷ 2 = 21. Too few.
- 8 teams: 8 × 7 ÷ 2 = 28. It fits.
- 9 teams: 9 × 8 ÷ 2 = 36. Too many.
The option 14 comes from 28 ÷ 2, but matches do not grow that way. So the answer is (d) 8.
Question 9
Ten teams take part in a football tournament. They are split into two groups of 5, and in each group every team plays every other team once. The top two teams of each group then play the semi-finals, and the two winners play the final. How many matches are played in the whole tournament?
(a) 23 (b) 45 (c) 22 (d) 25
Answer. Count each stage on its own.
- One group: 5 × 4 ÷ 2 = 10 matches
- Two groups: 2 × 10 = 20 matches
- Semi-finals: 4 teams in pairs = 2 matches
- Final: 1 match
Total = 20 + 2 + 1 = 23.
45 is the number of matches if all 10 teams played one another, which does not happen here. So the answer is (a) 23.
Heads and Legs
Two kinds of animals (or vehicles, or coins) are mixed together. One kind has more legs (or wheels, or rupees) than the other. You know the total number of heads and the total number of legs.
Assume, then correct
- Pretend every head belongs to the kind with fewer legs.
- Work out how many legs that would give, and compare with the real total.
- Each animal of the other kind adds the difference in legs. So divide the extra legs by that difference.
For example: a farm has hens and cows, with 20 heads and 56 legs in all.
- If all 20 were hens: 20 × 2 = 40 legs
- Extra legs = 56 − 40 = 16
- A cow has 2 legs more than a hen, so cows = 16 ÷ 2 = 8
- Hens = 20 − 8 = 12
Check: 12 × 2 + 8 × 4 = 24 + 32 = 56.
The same steps elsewhere
- Bicycles and tricycles: the difference is 1 wheel.
- Scooters and cars: the difference is 2 wheels.
- ₹ 2 and ₹ 5 coins: the difference is ₹ 3 a coin.
Only the number you divide by changes.
Read which kind is asked
The method gives the "other" kind first, the one with more legs. The question may ask for either kind, and the number of the first kind makes a ready-made wrong option. Underline the word in the question before you start.
You can also test the options. Take an option as the number of the asked kind, work out the other kind from the heads, and check the legs. It takes a little longer, but it is a sure check.
Solved Questions: Heads and Legs
Question 10
On a school trip to a farm, Ezhil counts the hens and goats in one pen. She finds 36 heads and 100 legs in all. How many goats are there in the pen?
(a) 22 (b) 14 (c) 28 (d) 18
Answer. Suppose all 36 were hens. Then there would be 36 × 2 = 72 legs.
- Extra legs = 100 − 72 = 28
- Each goat has 2 legs more than a hen, so goats = 28 ÷ 2 = 14
- Hens = 36 − 14 = 22
Check: 22 × 2 + 14 × 4 = 44 + 56 = 100. The 22 in the options is the number of hens, not goats. So the answer is (b) 14.
Question 11
A cycle shop has only bicycles and tricycles on display. There are 25 cycles with 62 wheels in all. How many tricycles are there?
(a) 12 (b) 13 (c) 6 (d) 31
Answer. If all 25 were bicycles, there would be 25 × 2 = 50 wheels.
- Extra wheels = 62 − 50 = 12
- A tricycle has 1 wheel more than a bicycle, so tricycles = 12 ÷ 1 = 12
- Bicycles = 25 − 12 = 13
Check: 13 × 2 + 12 × 3 = 26 + 36 = 62.
Time check: with a difference of 1 wheel, the extra wheels are the answer straight away. So the answer is (a) 12.
Pages and Digits
To number the pages of a book, count the digits group by group.
| Pages | How many pages | Digits on each | Digits used |
|---|---|---|---|
| 1 to 9 | 9 | 1 | 9 |
| 10 to 99 | 90 | 2 | 180 |
| 100 to 999 | 900 | 3 | 2,700 |
So pages 1 to 99 use 9 + 180 = 189 digits. Keep the number 189 in your head. You will use it again and again in this type.
Digits for a given number of pages
For a book of 120 pages:
- Pages 1 to 99: 189 digits
- Pages 100 to 120: 21 pages × 3 = 63 digits
- Total = 189 + 63 = 252 digits
The 21 matters. From page 100 to page 120 there are 120 − 100 + 1 = 21 pages, not 20. Whenever you count from one number to another and both ends are included, add 1.
Pages from a given number of digits
Take away 189, divide what is left by 3, and add the result to 99.
For example: 351 digits are used.
- 351 − 189 = 162
- 162 ÷ 3 = 54 three-digit pages, which are pages 100 to 153
- The book has 99 + 54 = 153 pages
If what is left after taking away 189 does not divide by 3, no book can use that many digits. That is a quick way to strike out an option.
The trap in the reverse question is to divide the whole total by 3, as if every page had three digits. The first 99 pages use fewer digits, so that answer comes out too small.
Solved Questions: Pages and Digits
Question 12
A shop prints a price catalogue of 150 pages, numbered from 1 to 150. How many digits are used in all to number the pages?
(a) 450 (b) 339 (c) 344 (d) 342
Answer. Split the pages by the number of digits.
- Pages 1 to 9: 9 pages × 1 = 9 digits
- Pages 10 to 99: 90 pages × 2 = 180 digits
- Pages 100 to 150: 51 pages × 3 = 153 digits
Total = 9 + 180 + 153 = 342.
Pages 100 to 150 are 150 − 100 + 1 = 51 pages. Taking them as 50 gives 339, one page short. So the answer is (d) 342.
Question 13
A total of 492 digits are used to number all the pages of a sports club's record register, starting from page 1. How many pages does the register have?
(a) 164 (b) 200 (c) 201 (d) 199
Answer. Pages 1 to 99 use 9 + 180 = 189 digits.
- Digits left = 492 − 189 = 303
- Three-digit pages = 303 ÷ 3 = 101
- These are pages 100 to 200
Check: 9 + 180 + 101 × 3 = 9 + 180 + 303 = 492. Dividing 492 by 3 straight away gives 164, which forgets that the early pages use fewer digits.
Time check: with 189 ready in your head, this is three short steps and fits easily in 40 to 50 seconds. So the answer is (b) 200.
At Least How Many to Be Sure
"To be sure" means you must plan for the worst luck. Imagine that whoever is drawing is as unlucky as possible. Count the biggest draw that still fails, then add one.
Two of the same colour
A box has red, blue and green pens. The worst luck gives one pen of each colour, which is 3 pens and still no pair. The next pen must match one of them. So 4 pens make sure.
How many pens of each colour the box holds does not matter here, as long as every colour has at least one pen in the box.
Several of the same colour
To be sure of k pens of one colour, the worst luck gives k − 1 of every colour first. Then one more.
With 4 colours and k = 3: 4 × 2 + 1 = 9.
If one colour has fewer than k − 1 items, the worst luck can only take all of that colour, so count what is really there.
A particular colour, or one of every colour
- 2 green pens for sure: the worst luck takes every pen that is not green first, then 2 green ones.
- One of each colour for sure: the worst luck takes all of the two biggest colours first, then 1 more.
For example: a box has 6 red, 4 blue and 3 green pens. To be sure of one pen of each colour, take 6 + 4 + 1 = 11.
Check by stepping back one
If your answer is N, there should be an unlucky draw of N − 1 that fails. For the pens, 10 pens could be 6 red and 4 blue with no green at all. That failing draw shows why 11 is needed.
The trap is to think about good luck. With good luck 3 pens could already give one of each colour, but "to be sure" asks for the number that works every time.
[SSC Tip] A "to be sure" question should take 40 to 50 seconds. Write the worst draw in one line, such as "6 red + 4 blue = 10, then 1 more", before you look at the options.
Solved Questions: To Be Sure
Question 14
A drawer in a sports shop has 8 red, 6 blue and 5 white socks, all loose and mixed up. What is the least number of socks that must be taken out, without looking, to be sure of getting 3 socks of the same colour?
(a) 4 (b) 9 (c) 7 (d) 6
Answer. Think of the worst luck. You could pick 2 red, 2 blue and 2 white, which is 6 socks with no three of one colour.
The 7th sock must be red, blue or white, and it makes 3 of that colour.
Least number = 3 × 2 + 1 = 7. Six is the biggest unlucky draw, not the number that makes you sure. So the answer is (c) 7.
Question 15
A box in a school canteen has 10 mango, 7 orange and 4 apple juice packets. What is the least number of packets that must be taken out, without looking, to be sure of getting at least one packet of each flavour?
(a) 3 (b) 15 (c) 22 (d) 18
Answer. The worst luck takes all the packets of the two biggest flavours first.
- 10 mango + 7 orange = 17 packets, and still no apple
- The next packet has to be apple
Least number = 17 + 1 = 18.
Leaving out orange instead gives 10 + 4 + 1 = 15, but that is not the worst luck, because mango and orange together make the bigger failing draw. So the answer is (d) 18.
Smallest Numbers, Fewest Notes and Overlaps
Smallest number with given remainders
A question may say: "When the plants are put in rows of 4, 3 are left over, and in rows of 6, 5 are left over." The quickest way is to test the options. An option must give the right remainder for every row size, so test the biggest row size first, because it fails most often. If two options pass, the question asks for the smallest, so take the smaller one.
For example, 11 passes both tests: 11 = 2 × 4 + 3 and 11 = 1 × 6 + 5.
Look for a pattern too. Here each remainder is one less than the row size, so one more plant would fill every row exactly. The number is one less than a number that divides by every row size. When all the remainders are equal, the number is that remainder more than such a number.
Fewest notes or coins
Use the biggest note as many times as you can, then the next biggest, and so on down. With the full set of Indian notes and coins (₹ 1, 2, 5, 10, 20, 50, 100 and up) this always gives the fewest. If only some values are allowed, check that what is left can still be paid, and use fewer of the big notes until it can.
For example: ₹ 780 with ₹ 500, ₹ 200, ₹ 100, ₹ 50, ₹ 20 and ₹ 10 notes is 500 + 200 + 50 + 20 + 10, which is 5 notes.
Overlap of two groups
Out of N people, A are in one group and B in another.
- Least overlap = A + B − N. If this comes to 0 or less, the least overlap is 0. It happens when nobody is outside both groups.
- Greatest overlap = the smaller of A and B. It happens when the smaller group sits completely inside the bigger one.
For example: of 30 students, 18 like tea and 20 like coffee. At least 18 + 20 − 30 = 8 like both, and at most 18 do.
The number in neither group moves the other way. Neither = N − (A + B − both), so it is greatest when the overlap is greatest.
For every minimum or maximum, build the extreme case in your head and make sure it can really happen. An answer that no real arrangement can reach is wrong, even if the arithmetic looks neat.
Solved Questions: Remainders, Notes and Overlaps
Question 16
Gopal has some saplings for a garden. When he plants them in rows of 4, 3 are left over. In rows of 5, 4 are left over, and in rows of 6, 5 are left over. What is the smallest number of saplings he can have?
(a) 61 (b) 59 (c) 63 (d) 57
Answer. Test the options against all three conditions.
- 61 = 15 × 4 + 1, so rows of 4 leave 1. Out.
- 63 = 15 × 4 + 3, which is fine for 4. But 63 = 12 × 5 + 3, so rows of 5 leave 3. Out.
- 57 = 14 × 4 + 1. Out.
- 59 = 14 × 4 + 3 = 11 × 5 + 4 = 9 × 6 + 5. All three fit.
There is a pattern as well. Each remainder is one less than the row size, so one more sapling would fill every row exactly. 60 divides by 4, 5 and 6, and 60 − 1 = 59. So the answer is (b) 59.
Question 17
Deepak has to pay exactly ₹ 1,880 at an electronics shop. He has plenty of ₹ 500, ₹ 200, ₹ 100, ₹ 50, ₹ 20 and ₹ 10 notes. What is the least number of notes he can use?
(a) 8 (b) 7 (c) 9 (d) 12
Answer. Use the biggest notes first.
- 3 notes of ₹ 500 = 1,500, leaving 380
- 1 note of ₹ 200, leaving 180
- 1 note of ₹ 100, leaving 80
- 1 note of ₹ 50, leaving 30
- 1 note of ₹ 20 and 1 note of ₹ 10, leaving 0
Notes = 3 + 1 + 1 + 1 + 1 + 1 = 8. So the answer is (a) 8.
Question 18
A sports club has 50 members. 32 of them play badminton and 27 play table tennis. What are the least and the greatest possible numbers of members who play both games?
(a) 0 and 27 (b) 9 and 32 (c) 9 and 27 (d) 5 and 27
Answer. Least: 32 + 27 = 59, which is 9 more than the 50 members. So at least 9 members must be in both groups. This happens when every member plays at least one of the two games.
Greatest: the smaller group has 27 members. All 27 table tennis players could also play badminton, but more than 27 cannot play both.
So the number who play both can be anything from 9 to 27. The 32 in one option is impossible, because only 27 play table tennis. So the answer is (c) 9 and 27.