Problem #WSP-000121

Problems Algebra Discrete Mathematics Combinatorics

Problem

How many cuboids are contained in an n×n×n cube? For example, we’ve got n3 cuboids of size 1×1×1, and obviously just 1 of size n×n×n (which is the whole cube itself). But we also have to count how many there of size 1×1×2, 1×2×3, and several more.