Project Euler 204 - Generalised Hamming Numbers

Official link: https://projecteuler.net/problem=204

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