Ugly Numbers solutions

Ugly Numbers was solved using Visual Basic by 2 contestants.

522. download johnchen (S)
1575. download MarkHurd (S)