Ugly Numbers solutions

Ugly Numbers was solved using Ruby by 3 contestants. Solution sizes: average 1525 bytes (shortest: 971; longest: 2348).