In my previous posting, the formula should read:
S(n) = ( (-2)(-1)^n + A^n + B^n )/5
blackjack
flooble's webmaster puzzle