ugly numbers are positive numbers whose prime factors only include 2 , 3 , 5 . for example , 6 , 8 are ugly while 14 is not ugly since it includes another prime factor 7 . note that 1 is typically treated as an ugly number . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean canWinNim concode_elem_sep boolean containsDuplicate concode_elem_sep boolean isHappy concode_elem_sep int majorityElement concode_elem_sep int[] plusOne concode_elem_sep int climbStairs concode_elem_sep void moveZeroes concode_elem_sep int titleToNumber concode_elem_sep int removeDuplicates concode_elem_sep boolean isPowerOfTwo concode_elem_sep int singleNumber concode_elem_sep int addDigits concode_elem_sep int hammingWeight concode_elem_sep int removeElement
boolean function ( int arg0 ) { if ( arg0 <= 0 ) return false ; for ( int loc0 = 2 ; loc0 <= 5 && arg0 > 0 ; loc0 ++ ) { while ( arg0 % loc0 == 0 ) { arg0 = arg0 / loc0 ; } } return ( arg0 == 1 ) ; }