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