By using just 5 threes get me the answer 31

well, you need a 1, so that would be 3/3

Now you need 30 more, using three 3's.
Looks like 3^3 + 3 + 3/3