is there an easy way to find the fuction rule for a table?

You mean finding a function given some tabulated data? You can always find a function that fits the data, like a polynomial. But, often what you want to do is find a function that fits the data and has some additional properties (like how it behaves at infinity). Such problems are, in general, very difficult to solve.