Divide the number by greatest divisible powers of 2, 3 and 5, if the number becomes 1 then it is an ugly number otherwise not. Follows functional programming practices.
- g++
- ubuntu:latest
sudo ./install.sh -u
sudo ./install.sh -d
sudo ./install.sh -h