Not So Good Partitions

If a square can be partitioned into n squares, then n is called a “good number.” As the diagrams show, 1, 4, 9, and 7 are good numbers. Find all positive whole numbers that are not good numbers.

(Source: Adapted from Mathematics Teaching in the Middle School, Mar-Apr 1997)