Output #1
15
The sequences of length $3$ whose total product is $72=2^3 \times 3^2$ are listed below.
* $(1,1,72)$ and its permutations ($3$ instances) are inappropriate because $1$ is a square number.
* $(1,2,36)$ and its permutations ($6$ instances) are inappropriate because $1$ and $36$ are square numbers.
* $(1,3,24)$ and its permutations ($6$ instances) are inappropriate because $1$ is a square number.
* $(1,4,18)$ and its permutations ($6$ instances) are inappropriate because $1$ and $4$ are square numbers.
* $(1,6,12)$ and its permutations ($6$ instances) are inappropriate because $1$ is a square number.
* $(1,8,9)$ and its permutations ($6$ instances) are inappropriate because $1$ and $9$ are square numbers.
* $(2,2,18)$ and its permutations ($3$ instances) are appropriate.
* $(2,3,12)$ and its permutations ($6$ instances) are appropriate.
* $(2,4,9)$ and its permutations ($6$ instances) are inappropriate because $4$ and $9$ are square numbers.
* $(2,6,6)$ and its permutations ($3$ instances) are appropriate.
* $(3,3,8)$ and its permutations ($3$ instances) are appropriate.
* $(3,4,6)$ and its permutations ($6$ instances) are inappropriate because $4$ is a square number.
Therefore, $15$ sequences satisfy the conditions.