A Simple statement of Problem 10 on Assignment 1

In research, or working in a company, problems rarely come to us in a precise way. The statement of the problem is often ambiguous and the notion of a "solution" is open to debate.

Problem 10, as given on the assignment, is such a problem.

Here is a more precise version of the problem. Find all possible sequences of letters from the alphabet { D1 , D2 , A1 , A2 , A3 , P } with the following properties:

HINT: Your list (which need not explicitly list every possible position for the D2 symbol, but only count the number of such placements for each pattern) will have a total of 126 arrangements.