38a

Using an algebraic formula both forwards and backwards