First, let me announce I am not looking for a coded example!! Basically, i don't know zip about the Tower of Hanoi's mathematical implementation, so could someone be able to show me the equation for finding the solution to the Tower of Hanoi problem?

Thanks!