For an explanation, refer the computer program assisted solution submitted by Charlie in this location.
blackjack
flooble's webmaster puzzle