Study guide

3.8 Cubes, Dice & Figure Counting

Coal India Management Trainee CIL MT

Track your progress as you read

Finished sections get a check mark.

1 Chapter 1: CIL MT Exam Overview & Coal Sector Landscape

1.1 CIL MT Exam Pattern, Marking Scheme & Strategy 1.2 Coal India Limited: Corporate Structure, Maharatna Status & Subsidiaries 1.3 Indian Coal Mining Sector, Energy Mix & Environmental Regulations

2 Chapter 2: Paper-I General Awareness, Polity & Current Affairs

2.1 Indian Constitution, Governance & Statutory Bodies 2.2 Indian Economy, Union Budget & Economic Planning 2.3 Indian Geography, Mineral Belts & Environmental Ecology 2.4 Modern Indian History, Freedom Struggle & Cultural Heritage 2.5 General Science: Physics, Chemistry & Biology Fundamentals 2.6 Inventions, Discoveries & Scientific-Technological Development 2.7 Uses of Internet, Computer Awareness & Digital Governance 2.8 National & International Organisations 2.9 Awards, Honours & Sports 2.10 Books & Authors, Important Monuments & Places of India 2.11 Ports, Power Plants & Infrastructure of India 2.12 Climate Change, SDGs, National Parks & Wildlife Sanctuaries 2.13 Flagship Government Programmes & Current Affairs Method 2.14 World Physical, Social & Economic Geography

3 Chapter 3: Paper-I Reasoning & Logical Ability

3.1 Series Completion, Coding-Decoding & Semantic Analogies 3.2 Syllogisms, Logical Deduction & Venn Diagrams 3.3 Seating Arrangements, Linear/Circular Alignments & Puzzles 3.4 Direction Sense, Blood Relations & Order/Ranking 3.5 Alphabetical & Alphanumeric Series 3.6 Statement & Conclusions, Statement & Arguments 3.7 Clocks & Calendars 3.8 Cubes, Dice & Figure Counting 3.9 Mirror Images, Water Images, Embedded Figures & Non-Verbal Series 3.10 Decision Making & Data Analysis in Reasoning

4 Chapter 4: Paper-I Numerical Ability & Quantitative Aptitude

4.1 Arithmetic Foundations: Percentages, Profit & Loss, Ratio & Proportion 4.2 Averages, Simple/Compound Interest, Alligations & Mixtures 4.3 Time & Work, Pipes & Cisterns, Time, Speed & Distance 4.4 Algebra, Mensuration, Geometry & Data Interpretation (DI) 4.5 Number System, LCM, HCF & Decimal Fractions 4.6 Surds, Indices & Simplification 4.7 Problems on Ages 4.8 Boats & Streams and Problems on Trains 4.9 Permutations & Combinations 4.10 Probability for Quantitative Aptitude

5 Chapter 5: Paper-I General English & Verbal Ability

5.1 English Grammar, Error Spotting & Sentence Correction 5.2 Vocabulary Building: Synonyms, Antonyms, Idioms & Phrases 5.3 Reading Comprehension, Cloze Tests & Para Jumbles 5.4 Fill in the Blanks, Cloze Passages & Sentence Completion 5.5 Jumbled Sentences & Sentence Improvement

6 Chapter 6: Paper-II Engineering Mathematics

6.1 Matrix Algebra, Rank & Systems of Linear Equations 6.2 Eigenvalues, Eigenvectors & the Cayley-Hamilton Theorem 6.3 Limits, Continuity, Differentiability & Mean Value Theorems 6.4 Maxima-Minima, Indeterminate Forms & Taylor Series 6.5 Definite, Improper, Double & Triple Integrals 6.6 Partial Derivatives, Total Derivative & Multivariable Optimisation 6.7 First-Order Differential Equations: Linear & Non-Linear 6.8 Higher-Order Linear Differential Equations & Engineering Applications 6.9 Laplace Transforms & Transfer-Function Methods 6.10 Probability, Conditional Probability & Bayes' Theorem 6.11 Random Variables, Distributions & Descriptive Statistics 6.12 Numerical Methods: Root Finding, Integration & ODE Solvers

7 Chapter 7: Paper-II Engineering Mechanics & Statics-Dynamics

7.1 Force Systems, Coplanar Equilibrium & Lami's Theorem 7.2 Plane Trusses, Friction Mechanics & Screws/Wedges 7.3 Centroids, Center of Gravity & Moment of Inertia 7.4 Kinematics, Kinetics of Particles & Rigid Body Dynamics 7.5 Virtual Work & Lagrange's Equation 7.6 Rolling Friction, Belt-Pulley Drives, Brakes, Clutches & Vehicle Dynamics

8 Chapter 8: Paper-II Mechanics of Materials & Structural Integrity

8.1 Simple Stresses, Strains, Elastic Moduli & Thermal Stresses 8.2 Principal Stresses, Strain Energy & Mohr's Circle 8.3 Shear Force & Bending Moment Diagrams, Beam Bending & Shear Stresses 8.4 Torsion of Circular Shafts, Springs & Column Buckling 8.5 Thin Cylinders, Spheres & Thick-Walled Pressure Vessels 8.6 Deflection of Beams: Double Integration, Macaulay & Moment-Area 8.7 Shear Centre & Unsymmetrical Bending 8.8 Strain Gauges, Rosettes & Experimental Stress Analysis 8.9 Mechanical Testing: Universal Testing Machine, Hardness & Impact

9 Chapter 9: Paper-II Theory of Machines & Mechanical Vibrations

9.1 Simple Mechanisms, Kinematic Inversions & Velocity/Acceleration Diagrams 9.2 Cams & Followers, Toothed Gearing & Epicyclic Gear Trains 9.3 Flywheels, Centrifugal/Inertia Governors & Rotor Balancing 9.4 Free, Damped & Forced Single-Degree-of-Freedom Vibrations 9.5 Gyroscopic Couple & Gyroscopic Effects

10 Chapter 10: Paper-II Machine Design & Failure Theories

10.1 Static Failure Theories & Variable/Fatigue Loading 10.2 Design of Threaded Fasteners, Welded & Riveted Joints 10.3 Design of Shafts, Keys, Couplings & Rolling/Sliding Bearings 10.4 Design of Spur, Helical, Bevel & Worm Gears 10.5 Design of Helical, Leaf & Torsion Springs 10.6 Design of Brakes & Clutches: Energy, Lining Pressure & Heat

11 Chapter 11: Paper-II Fluid Mechanics & Hydraulic Machinery

11.1 Fluid Properties, Hydrostatic Forces & Buoyancy 11.2 Fluid Kinematics, Continuity & Bernoulli's Equation 11.3 Viscous Flow in Pipes, Boundary Layer & Minor Losses 11.4 Hydraulic Turbines, Centrifugal & Reciprocating Pumps 11.5 Dimensional Analysis, Similitude & Model Testing 11.6 Control-Volume Analysis: Continuity, Momentum & Energy

12 Chapter 12: Paper-II Thermodynamics, Thermal Cycles & Turbomachinery

12.1 Fundamental Concepts, First & Second Laws of Thermodynamics 12.2 Entropy, Availability, Exergy & Properties of Pure Substances 12.3 Air-Standard Gas Power Cycles: Otto, Diesel, Dual & Brayton 12.4 Vapour Power Cycles: Ideal, Reheat & Regenerative Rankine Cycles 12.5 Thermodynamic Relations: Maxwell, Clausius-Clapeyron & Joule-Thomson 12.6 Behaviour of Ideal & Real Gases and Equations of State 12.7 Air & Gas Compressors: Reciprocating, Rotary & Multi-Stage 12.8 Steam & Gas Turbines: Impulse, Reaction & Velocity Diagrams

13 Chapter 13: Paper-II Heat Transfer, Refrigeration & Air Conditioning

13.1 Steady & Unsteady Conduction, Extended Surfaces (Fins) 13.2 Forced/Natural Convection, Radiation & Heat Exchanger LMTD/NTU 13.3 Vapour Compression & Vapour Absorption Refrigeration Systems 13.4 Psychrometric Properties, Processes & Air Conditioning Systems 13.5 Gas Refrigeration, Heat Pump Cycles & Cryogenics

14 Chapter 14: Paper-II Materials Science, Metallurgy & Manufacturing Technology

14.1 Crystal Structures, Phase Diagrams & Iron-Iron Carbide Equilibrium 14.2 Heat Treatment Processes & Engineering Alloy Steels 14.3 Casting Processes, Metal Forming & Welding Metallurgy 14.4 Metal Cutting Mechanics, Tool Life & Machine Tools 14.5 Plastic Deformation, Yield Criteria & Load Estimation in Bulk Forming 14.6 Sheet Metal Forming: Shearing, Bending & Deep Drawing 14.7 Powder Metallurgy 14.8 Brazing, Soldering & Adhesive Bonding 14.9 Non-Traditional Machining: EDM, ECM, USM, AJM, LBM & EBM 14.10 Abrasive Machining, Grinding & Superfinishing 14.11 Principles of Work Holding, Jigs & Fixtures 14.12 Economics of Machining & Tool Life Optimisation

15 Chapter 15: Paper-II Metrology, Quality Control & Industrial Engineering / OR

15.1 Limits, Fits, Tolerances, Gauges & Surface Metrology 15.2 Production Planning, Forecasting & Inventory Control Models 15.3 Operations Research: Linear Programming & Transportation/Assignment 15.4 Project Management: CPM, PERT, Network Analysis & Crashing 15.5 Comparators & Interferometry 15.6 Coordinate Measuring Machines & Machine Tool Alignment Testing 15.7 Computer Integrated Manufacturing: CAD/CAM & Integration Tools 15.8 NC/CNC Machines & CNC Part Programming 15.9 Material Requirements Planning, Scheduling & Sequencing 15.10 Queuing Theory & Simple Queuing Models 15.11 Network Flow Models: Shortest Route, Maximal Flow & Spanning Tree

3.8 Cubes, Dice & Figure Counting

Key Takeaways Explain This Topic AI

Cubes and Dice is a named bullet of the CIL Paper-I Logical Reasoning syllabus and is solved by counting faces rather than by visualisation.

A painted cube cut into n cubed smaller cubes yields 8 corner cubes with three painted faces, 12(n-2) edge cubes with two, 6(n-2)^2 face cubes with one, and (n-2)^3 interior cubes with none.

On a standard die, opposite faces sum to seven, so 1 faces 6, 2 faces 5 and 3 faces 4.

Two views of a die that share a common face can be rotated onto each other, and any face appearing adjacent to another in either view cannot be its opposite.

Last updated: August 2026

Part 1: The Painted Cube

The standard question takes a solid cube, paints its outer surface, then cuts it into n 3 n^3 n 3 identical smaller cubes and asks how many small cubes carry a given number of painted faces. The answer depends only on position, and the four categories are exhaustive.

  • Position Painted faces Count Reason
  • Corners 3 8 A cube has 8 vertices, always
  • Edges (not corners) 2 12(n - 2) 12 edges, each with n − 2 n-2 n − 2 non-corner cubes
  • Faces (not edges) 1 6(n - 2)^2 6 faces, each with an inner square of side n − 2 n-2 n − 2
  • Interior 0 (n - 2)^3 The hidden core

A useful check: the four counts must sum to n 3 n^3 n 3 .

Worked example: n = 4

A cube is painted and cut into 64 smaller cubes, so n = 4 n = 4 n = 4 and n − 2 = 2 n - 2 = 2 n − 2 = 2 .

  • Three faces painted: 8
  • Two faces painted: 12 × 2 = 12 \times 2 = 12 × 2 = 24
  • One face painted: 6 × 2 2 = 6 \times 2^2 = 6 × 2 2 = 24
  • No face painted: 2 3 = 2^3 = 2 3 = 8

Check: 8 + 24 + 24 + 8 = 64 8 + 24 + 24 + 8 = 64 8 + 24 + 24 + 8 = 64 . Correct.

Worked example: n = 5

Here n − 2 = 3 n - 2 = 3 n − 2 = 3 :

  • Three faces: 8
  • Two faces: 12 × 3 = 36 12 \times 3 = 36 12 × 3 = 36
  • One face: 6 × 9 = 54 6 \times 9 = 54 6 × 9 = 54
  • None: 27 27 27

Check: 8 + 36 + 54 + 27 = 125 = 5 3 8 + 36 + 54 + 27 = 125 = 5^3 8 + 36 + 54 + 27 = 125 = 5 3 . Correct.

Variants

If only some faces are painted, or different colours are used on different face pairs, do not reach for the formula. Instead count layer by layer, treating each painted face as contributing its own n × n n \times n n × n layer and subtracting the overlaps along shared edges. The formulae above assume all six faces painted in one colour .

A second variant asks for cubes with at least one painted face, which is simply n 3 − ( n − 2 ) 3 n^3 - (n-2)^3 n 3 − ( n − 2 ) 3

For n = 4 n = 4 n = 4 that gives 64 − 8 = 56 64 - 8 = 56 64 − 8 = 56 .

  • Part 2: Dice
  • The standard die

On a conventional die the numbers on opposite faces sum to seven : 1 ↔ 6 , 2 ↔ 5 , 3 ↔ 4 1 \leftrightarrow 6, \qquad 2 \leftrightarrow 5, \qquad 3 \leftrightarrow 4 1 ↔ 6 , 2 ↔ 5 , 3 ↔ 4

If a question states or implies a standard die, this rule answers it immediately. Note that a die has 6 faces, 8 vertices and 12 edges, and that any face is adjacent to four faces and opposite to exactly one.

Reading two or more views

The general questions give two or more pictures of the same die and ask which number lies opposite a given one. Two rules settle nearly all of them:

Rule 1 — Adjacency rule. If two numbers appear together in any single view, they are on adjacent faces and therefore cannot be opposite each other. Collect all adjacencies across all views; the number that never appears alongside a given number is its opposite.

Rule 2 — Common face rule. If two views share exactly one common visible number, the die has been rotated about that face. The remaining numbers in the two views can be matched by rotating in the same sense.

Worked example

Two views of a die show:

  • View 1: top 1, front 2, right 3
  • View 2: top 1, front 3, right 5

Both views show 1 on top, so the die was rotated about the vertical axis. From View 1, the faces adjacent to 1 include 2 and 3; from View 2 they also include 5. So 2, 3 and 5 are all adjacent to 1, and by extension so is the fourth side face. The only number that never appears with 1 is 6 , so 6 is opposite 1 — consistent with the standard rule.

For 2: it appears with 1 and 3 in View 1. Rotating from View 1 to View 2 moves 2 out of sight and brings 5 into view on the right, which places 5 where 2 is not. Combined with the adjacency of 2 and 3, the face opposite 2 is 5 .

Dice from a net

When a flattened net is given, use the rule that in a straight line of squares, faces one apart are adjacent and faces two apart are opposite . Squares separated by one intervening square in a row lie on opposite faces once folded.

Part 3: Figure Counting

Counting triangles or rectangles in a composite figure is systematic, not intuitive. The method is to count by size class .

Counting triangles

Count the smallest, indivisible triangles first.

Count triangles made of two smallest triangles, then three, and so on.

Finally count the whole figure if it is itself a triangle.

Add the classes.

Label every vertex before starting so that no triangle is counted twice.

Counting rectangles in a grid

For a grid of m m m vertical lines and n n n horizontal lines, any rectangle is fixed by choosing two vertical and two horizontal lines: Number of rectangles = ( m 2 ) ( n 2 ) \text{Number of rectangles} = \binom{m}{2}\binom{n}{2} Number of rectangles = ( 2 m ​ ) ( 2 n ​ )

For a chessboard-style grid of p p p columns and q q q rows of cells, there are p + 1 p+1 p + 1 and q + 1 q+1 q + 1 lines, so Rectangles = ( p + 1 2 ) ( q + 1 2 ) \text{Rectangles} = \binom{p+1}{2}\binom{q+1}{2} Rectangles = ( 2 p + 1 ​ ) ( 2 q + 1 ​ )

Worked example. In a 3 by 3 grid of cells there are 4 vertical and 4 horizontal lines, so the number of rectangles is ( 4 2 ) ( 4 2 ) = 6 × 6 = 36 \binom{4}{2}\binom{4}{2} = 6 \times 6 = 36 ( 2 4 ​ ) ( 2 4 ​ ) = 6 × 6 = 36

Of these, the number of squares is 3 2 + 2 2 + 1 2 = 14 3^2 + 2^2 + 1^2 = 14 3 2 + 2 2 + 1 2 = 14 .

In general, an n n n by n n n grid contains ∑ k 2 \sum k^2 ∑ k 2 squares for k = 1 k = 1 k = 1 to n n n , and [ ( n + 1 2 ) ] 2 \left[\binom{n+1}{2}\right]^2 [ ( 2 n + 1 ​ ) ] 2 rectangles.