Four Fours
(From Wikipedia) Four fours is a mathematical puzzle. The goal of four fours is to find the simplest mathematical expression for every whole number from 0 to some maximum, using only common mathematical symbols and the digit four (no other digit is allowed).
Example 7 = 4+ sqrt (4) + (4/4)
Write a program that ouputs expressions for all the digits from 1 to 50.