I am working on my own project and came accross a problem I need some help on. Specifically, my question is: Let's assume a blackjack session with good rules (BJ 3:2, S17, surrender, etc.) and play perfect basic strategy so the house advantage is 0.5%. Also, the player flat bets 1 unit.Based on mathematical probabilities, how many hands would normally be dealt before the player experiences his FIRST net loss of 20 units? Of course to calculate how often you would lose 20 units is simply: 20/.005 = 4,000 (20 units lost every 4,000 hands) But that's not what I'm trying to find out. Given the fact that large fluctations in bankroll will occur during those 4,000 hands, I need to know when his FIRST net loss of 20 units would normally occur. Any comments or suggestions will be appreciated.