Fortune Telling

Using only the number 4 and the four basic operations (+, -, x, ÷), write all the numbers from 1 to 31.

(Source: Adapted from Mathematics Teaching in the Middle School, May 1994)