Good solution, Daniel.
But there is a typo in the last equation: theos p's should all be k's. :-)
blackjack
flooble's webmaster puzzle