Problem 263 · Easy

Ugly Number

Check if number only has factors 2, 3, 5.

Open the interactive visualisation