What is a Heineman number?

A Heineman number is a positive integer which is only divisible by unique prime numbers.

For example, 30 is a Heineman number because 2 x 3 x 5 = 30 and these are all unique divisors.

However 44 is not a Heineman number because 2 x 2 x 11 = 44 and the divisor 2 appears twice.

Check if a number is a Heineman Number