Project Euler 204 - Generalised Hamming Numbers

Official link:

Thought Process

After solving Problem 581, someone in the answer thread said this one was similar so I head over and it was indeed.

Essentially used my k-smooth numbers function and the problem is done.

Interactive Code

Enter a number (yourinput)

Code will output the number of generalised hamming numbers of type yourinput which don't exceed 10^9