The first, 25, terms of the sequence enumerating integer partitions of n avoi\ ding the set of patterns {[a, a, a], [a, a, a - 1]} are [1, 2, 2, 4, 4, 6, 9, 11, 13, 18, 23, 30, 35, 44, 54, 69, 84, 101, 121, 147, 175, 213, 256, 303, 356] -------------------------- This took, 0.041, seconds.