# Leetcode 263 - Ugly number

Note:

• Use recursion
• 1 is a special number.
• If a number is not divisible to 2, 3, 5, then it’s not.

Question:

An ugly number is a positive integer whose prime factors are limited to 2, 3, and 5.

Given an integer n, return true if n is an ugly number.

Example:

Code: