ExamSaathi learning library · Government exams · SSC Constable (GD) general intelligence and reasoning (Part-A); indicative syllabus in the 2026 examination notice, the latest published · General intelligence and reasoning
Heads and legs: counting puzzles with two kinds of items
You will be able to solve heads and legs counting puzzles with two kinds of items, and their wheels, coins, tickets, wages and marks forms, by the assume-all method. You will also check each answer with two equations in n and k, take out a given third kind first and spot impossible data.
Status: original pilot lesson. Teacher review is pending. It is not a complete course or official exam material.
You will learn to
- Solve heads and legs counting puzzles with two kinds of items, including their wheels and coins forms, by the assume-all method: divide the shortfall from the true total by the gap per item.
- Check each assume-all method answer to heads and legs, wheels or coins counting puzzles by writing two equations in n and k for the two kinds of items and solving them by elimination or substitution.
- Extend the assume-all method from heads and legs, wheels and coins to other counting puzzles with two kinds of items, such as tickets at two prices, wages with fines and marks with penalties, where the gap is the gain plus the loss.
- Remove a third kind whose count is given from both totals first, then finish the heads and legs, wheels or coins counting puzzle for the two kinds of items left with the assume-all method.
- Reject impossible data in heads and legs, wheels and coins counting puzzles with two kinds of items: an odd leg total from two- and four-legged animals, a second total outside the assume-all method's all-small to all-large range, or a count that is not a whole number.
Before you start
For Part-A of the SSC Constable (GD) examination, the 2026 notice (the latest published) includes arithmetical reasoning at para 12.1.11.1. Here that means a family of counting puzzles in which two kinds of items share one total.
That shared total is the number of items; each puzzle also gives a second total such as legs, wheels, rupees or marks. The letter n counts the items of the kind that adds less to the second total and k counts the kind that adds more, so a farm has n hens and k goats, a parking lot n bicycles and k cars, and a month n days absent and k days worked. 'Per item' means what one item adds to the second total: 2 legs for a hen, 4 wheels for a car, Rs. 5 for a five-rupee coin, or -1 mark for a wrong answer. The gap per item is how much the second total changes when one item is swapped for one of the other kind. Read the final line first, since it may ask for n, for k, or for how many more of one kind there are.
The algebra and averages behind these puzzles have lessons of their own, so this one only points to them:
1. Pair of linear equations: substitution and elimination: teaches finding two unknowns from two equations by replacing one letter or by cancelling one.
2. Linear equations: forming and solving word problems: teaches writing one equation from a story and solving it.
3. Averages: totals, balancing and replacement: teaches moving between a total and an average, the idea behind the range test here.
The core idea: the assume-all method on heads and legs
Suppose a made-up farmyard holds only hens and goats, and a count finds 18 heads and 50 legs. Every animal has one head, so there are 18 animals, and only the legs tell the two kinds apart.
Now pretend all 18 animals are hens. The pretend farmyard has 18 x 2 = 36 legs, which is 50 - 36 = 14 legs short of the real count. Turning one pretend hen into a goat leaves the heads at 18 but adds 4 - 2 = 2 legs. To make up the 14 missing legs, 14 / 2 = 7 hens must turn into goats, so there are 7 goats and 18 - 7 = 11 hens. Recount: 11 x 2 + 7 x 4 = 22 + 28 = 50. This is the assume-all method.
The pretending can start from the other end. If all 18 were goats there would be 18 x 4 = 72 legs, an excess of 72 - 50 = 22, and each goat turned back into a hen removes 2 legs, so there are 22 / 2 = 11 hens. Either way, the shortfall or excess divided by the gap per item counts the kind you did not assume, and finding 7 + 11 = 18 from the two ends is a quick check.
Legs play no special part in this reasoning. Whenever a puzzle gives how many items there are, a fixed amount per item for each of two kinds and the second total, three numbers settle it: the pretend total, its distance from the true total, and the gap.
The method: two equations in n and k, and three tests on the data
Put the farmyard into letters, with n hens and k goats:
1. Heads: n + k = 18.
2. Legs: 2n + 4k = 50.
3. Multiply the heads equation by 2, the legs on one hen: 2n + 2k = 36.
4. Subtract line 3 from line 2: 2k = 14, so k = 7 and n = 18 - 7 = 11.
Line 3 is the all-hens farmyard and line 4 divides the shortfall by the gap, so the shortcut is elimination carried out in words; substituting n = 18 - k into line 2 gives the same answer. Solve with one method and check with the other.
Before trusting an answer, test the data three ways.
Parity: hens and goats both have an even number of legs, so a leg total from these two kinds alone must be even; 18 heads with 51 legs is impossible under these assumptions.
Range: the second total must lie between the all-small value (every item the smaller kind, 18 x 2 = 36) and the all-large value (18 x 4 = 72). As an average, 50 / 18 is about 2.8 legs per animal, between 2 and 4. A total equal to one end means only one kind is there.
Whole numbers: the shortfall must divide exactly by the gap. With Rs. 2 and Rs. 5 coins the gap is Rs. 3, so 20 coins worth Rs. 63 cannot happen: the shortfall 63 - 20 x 2 = 23 is not a multiple of 3.
When a test fails, reread the numbers in the question before going further.
Variants: wheels, coins, tickets, wages with fines, marks, and a third kind
Only the names change. Each time, find the count, the amount per item for each kind and the gap.
1. Wheels: bicycles and cars have 2 and 4 wheels, a gap of 2, so they behave exactly like hens and goats. Auto-rickshaws (3 wheels) and cars have a gap of only 1.
2. Coins: 30 coins of Rs. 2 and Rs. 5 are worth Rs. 99. All Rs. 2 coins would make Rs. 60, and the shortfall of Rs. 39 divided by the gap of Rs. 3 gives 13 five-rupee coins, leaving 17 two-rupee coins.
3. Tickets: the count is the number of tickets sold, the second total is the money collected, and the gap is the difference between the two prices.
4. Wages and fines: a worked day earns the wage, while an absent day earns nothing and also costs a fine. Swapping a worked day for an absent one loses the wage plus the fine, and that sum is the gap.
5. Marks: if a right answer gains 3 and a wrong one loses 1, changing a right answer into a wrong one costs 3 + 1 = 4 marks, so the gap is 4, not 2. Blank questions score nothing and stay out of the count.
A third kind whose count is given comes out first. If a parking lot also holds 5 auto-rickshaws, take 5 from the vehicles and 5 x 3 = 15 from the wheels, then solve the two-kind puzzle on what is left.
Common mistakes
1. Giving the count of the wrong kind: when you assume all hens, the shortfall divided by 2 counts the goats, so subtract it from the heads to get the hens.
2. Dividing the shortfall by the larger amount instead of the gap: with Rs. 2 and Rs. 5 coins, divide by 5 - 2 = 3, not by 5.
3. Taking the gap as gain minus loss when one kind takes marks away: +4 for a right answer and -1 for a wrong one give a gap of 4 + 1 = 5, not 4 - 1 = 3.
4. Treating an absent day as costing only the fine: with a wage of Rs. 500 and a fine of Rs. 100, each absent day pulls the all-present total down by Rs. 600.
5. Taking a third kind out of one total but not the other: 4 tricycles mean 4 fewer vehicles and 4 x 3 = 12 fewer wheels.
6. Counting blank questions as attempted: if 10 of 50 questions are left blank, work with the 40 that were answered.
7. Stopping at the shortfall: 24 legs short does not mean 24 goats; divide by the gap of 2 to get 12.
8. Pushing on with impossible data: an odd leg total from two- and four-legged animals, a total outside the all-small to all-large range, or a fraction of an animal means the data are impossible under the stated conditions; if a solution was expected, recheck the question.
A routine for heads and legs counting questions
1. Read the last line and note what is wanted: n, k, or the difference between them.
2. Write down the total count, the two kinds and the amount per item for each, with a minus sign for a fine or a penalty.
3. If a third kind has a given count, subtract its items from the count and its share from the second total before anything else.
4. Find the gap per item: the larger amount minus the smaller, which is the gain plus the loss when one kind takes something away.
5. Test the data: an even total when every amount per item is even, and a second total between the all-small and all-large values.
6. Assume every item is one kind (all hens, all bicycles, all right answers, all days worked), find how far the pretend total is from the true one, and divide by the gap; the result counts the other kind, and the count minus it gives the first kind.
7. If that division is not exact, there is no whole-number solution under the stated conditions; recheck copied numbers if a solution was expected.
8. Check: put n, k and any third kind back into both totals and confirm that each matches the question.
Worked examples
On a made-up farm beside a river there are only ducks and buffaloes, with 43 heads and 122 legs between them. How many ducks and how many buffaloes are on the farm?
- Test the data: 122 is even, and it lies between 43 x 2 = 86 (all ducks) and 43 x 4 = 172 (all buffaloes), so a whole-number answer is possible.
- Assume all 43 animals are ducks: that gives 86 legs, which is 122 - 86 = 36 legs short. Each buffalo in place of a duck adds 4 - 2 = 2 legs, so there are 36 / 2 = 18 buffaloes and 43 - 18 = 25 ducks.
- The same answer in algebra, with n ducks and k buffaloes: n + k = 43 and 2n + 4k = 122. Doubling the first gives 2n + 2k = 86, and subtracting it from the second leaves 2k = 36, so k = 18 and n = 25.
- Recount: 25 x 2 + 18 x 4 = 50 + 72 = 122 legs, and 25 + 18 = 43 heads.
Answer: There are 25 ducks and 18 buffaloes.
A made-up builder hires a mason for 30 days. The mason earns Rs. 700 for each day he works and pays a fine of Rs. 200 for each day he is absent, getting no wage for that day. After the 30 days he receives Rs. 17,400. On how many days was he absent?
- Let n be the days absent and k the days worked, so n + k = 30; a worked day adds Rs. 700 to his pay and an absent day takes Rs. 200 away.
- Had he worked all 30 days he would have received 30 x 700 = Rs. 21,000, which is 21,000 - 17,400 = Rs. 3,600 more than he got.
- Each absent day in place of a worked day loses the Rs. 700 wage and also costs the Rs. 200 fine, a gap of 700 + 200 = Rs. 900, so he was absent on 3,600 / 900 = 4 days and worked on 30 - 4 = 26.
- Substitution gives the same result: putting k = 30 - n into 700k - 200n = 17,400 gives 21,000 - 900n = 17,400, so 900n = 3,600 and n = 4.
- Recount the pay: 26 x 700 - 4 x 200 = 18,200 - 800 = Rs. 17,400.
Answer: He was absent on 4 days and worked on the other 26.
A made-up parking lot outside a cinema hall holds bicycles, cars and 6 auto-rickshaws with 3 wheels each. Counting only wheels that touch the ground, there are 58 vehicles and 170 wheels. How many bicycles and how many cars are there?
- Take the third kind out first: 58 - 6 = 52 vehicles and 170 - 6 x 3 = 170 - 18 = 152 wheels belong to the bicycles and cars.
- Test what remains: 152 is even and sits between 52 x 2 = 104 and 52 x 4 = 208, so the data pass both tests.
- Assume all 52 are bicycles: 104 wheels, a shortfall of 152 - 104 = 48. Each car adds 4 - 2 = 2 wheels, so there are 48 / 2 = 24 cars and 52 - 24 = 28 bicycles.
- Put everything back, auto-rickshaws included: 28 + 24 + 6 = 58 vehicles, and 28 x 2 + 24 x 4 + 6 x 3 = 56 + 96 + 18 = 170 wheels.
Answer: There are 28 bicycles and 24 cars.
Practice checks
- A made-up money box holds only Rs. 5 and Rs. 10 coins: 36 coins worth Rs. 255 in all. How many Rs. 10 coins are in the box?
- A made-up school sold 150 tickets for its annual play: child tickets at Rs. 60 each and adult tickets at Rs. 90 each. The ticket money came to Rs. 11,430. How many adult tickets were sold?
- A made-up practice test has 75 questions. A right answer earns 3 marks, a wrong answer loses 1 mark and a blank scores 0. Meena leaves 11 questions blank and scores 136. How many of her answers are wrong?
- A made-up farm keeps only cows and hens, 25 animals in all. Which of these could be the total number of their legs?
- A made-up deer park has peacocks and deer, looked after by 2 keepers. Counting the keepers too, there are 41 heads and 120 legs. How many peacocks are there?
Sources checked
- SSC Constable (GD) in CAPFs and SSF, and Rifleman (GD) in Assam Rifles Examination, 2026: notice of examination (F. No. HQ-C-3007/10/2025-C-3) — Para 12.1.11.1 (General Intelligence and Reasoning): arithmetical reasoning; indicative syllabus in the latest published Constable (GD) notice (no 2027 notice on ssc.gov.in as of 28 Oct 2026); facts only
- NCERT, Mathematics Class X, Chapter 3: Pair of Linear Equations in Two Variables — 3.3.1 Substitution Method and 3.3.2 Elimination Method for solving a pair of linear equations in two variables; ideas only
- NCERT, Mathematics Class VIII, Chapter 2: Linear Equations in One Variable — 2.2 Solving equations having the variable on both sides and 2.3 Reducing equations to simpler form; ideas only