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.
- java
- maven
- l.gcr.io/google/maven:latest
sudo ./install.sh -u
sudo ./install.sh -d
sudo ./install.sh -h
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.
Shell
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.
sudo ./install.sh -u
sudo ./install.sh -d
sudo ./install.sh -h