There is an amazing, easy to use peice of software for doing stuff like this called Eureqa (http://www.nutonian.com/products/eureqa/). I've used it to find approximations for a lot of different functions.
It's not perfect for this application though because it doesn't bitwise operations or use execution time as a fitness function.