hmm, you were betting 'under 24000' though, so each time you doubled up, your profit also increased. You'd only need to increase your bet about 35% each time... So you made about 40 bitcoins profit? martingale as it's defined would have resulted in a gain of just 0.122... and a bet of ~0.165 on your 2nd round..
ed: well, wait, I'm wrong, since your initial bet was 0.122, you were trying to win 0.326, so the 0.326 + bets already lost is what you would bet for on each subsequent round
my favorite is the 8000, with initial bet of 0.001 and increasing by 20% after the first lost, and 15% each time thereafter. the first pays for the tx fees, the other times, well,
I realise I didn't need to double up, but I didn't want to be risking 62.5 coins just to win 0.112 coin... I wanted the profits to increase along with the risk. Like you said:
I ran your favourite through my Python script to see the odds and I like it too. The output is kind of ugly, but what it tells me is that so long as you have 873 coins in your wallet, you will only lose if you lose 84 bets in a row (which happens 0.002% of the time - or 1 in 50,000 plays.
Edit: the following doesn't take transaction fees into account. I was never betting small enough that transaction fees were significant, but you apparently are. Every time you bet less than a bitcent the satoshi client will ask you to include a 0.0005 fee at least.
win on turn 1 : bet = 0.00100000, spent = 0.00100000, win = 0.00750039, lose = 0.00000001, back = 0.00000000, profit = 0.00650039 (87.793% to lose all)
win on turn 2 : bet = 0.00120000, spent = 0.00220000, win = 0.00910047, lose = 0.00000001, back = 0.00000001, profit = 0.00690048 (77.076% to lose all)
win on turn 3 : bet = 0.00138000, spent = 0.00358000, win = 0.01054054, lose = 0.00000001, back = 0.00000002, profit = 0.00696056 (67.667% to lose all)
win on turn 4 : bet = 0.00158700, spent = 0.00516700, win = 0.01219662, lose = 0.00000001, back = 0.00000003, profit = 0.00702965 (59.407% to lose all)
win on turn 5 : bet = 0.00182505, spent = 0.00699205, win = 0.01410111, lose = 0.00000001, back = 0.00000004, profit = 0.00710910 (52.155% to lose all)
win on turn 6 : bet = 0.00209881, spent = 0.00909086, win = 0.01629128, lose = 0.00000001, back = 0.00000005, profit = 0.00720047 (45.789% to lose all)
win on turn 7 : bet = 0.00241363, spent = 0.01150449, win = 0.01880997, lose = 0.00000001, back = 0.00000006, profit = 0.00730554 (40.199% to lose all)
win on turn 8 : bet = 0.00277567, spent = 0.01428016, win = 0.02170647, lose = 0.00000001, back = 0.00000007, profit = 0.00742638 (35.292% to lose all)
win on turn 9 : bet = 0.00319202, spent = 0.01747218, win = 0.02503744, lose = 0.00000001, back = 0.00000008, profit = 0.00756534 (30.984% to lose all)
win on turn 10 : bet = 0.00367083, spent = 0.02114301, win = 0.02886805, lose = 0.00000001, back = 0.00000009, profit = 0.00772513 (27.202% to lose all)
win on turn 11 : bet = 0.00422145, spent = 0.02536446, win = 0.03327326, lose = 0.00000001, back = 0.00000010, profit = 0.00790890 (23.881% to lose all)
win on turn 12 : bet = 0.00485467, spent = 0.03021913, win = 0.03833925, lose = 0.00000001, back = 0.00000011, profit = 0.00812023 (20.966% to lose all)
win on turn 13 : bet = 0.00558287, spent = 0.03580200, win = 0.04416514, lose = 0.00000001, back = 0.00000012, profit = 0.00836326 (18.407% to lose all)
win on turn 14 : bet = 0.00642030, spent = 0.04222230, win = 0.05086491, lose = 0.00000001, back = 0.00000013, profit = 0.00864274 (16.160% to lose all)
win on turn 15 : bet = 0.00738335, spent = 0.04960565, win = 0.05856965, lose = 0.00000001, back = 0.00000014, profit = 0.00896414 (14.187% to lose all)
win on turn 16 : bet = 0.00849085, spent = 0.05809649, win = 0.06743010, lose = 0.00000001, back = 0.00000015, profit = 0.00933376 (12.455% to lose all)
win on turn 17 : bet = 0.00976447, spent = 0.06786097, win = 0.07761961, lose = 0.00000001, back = 0.00000016, profit = 0.00975880 (10.935% to lose all)
win on turn 18 : bet = 0.01122915, spent = 0.07909011, win = 0.08933756, lose = 0.00000001, back = 0.00000017, profit = 0.01024762 ( 9.600% to lose all)
win on turn 19 : bet = 0.01291352, spent = 0.09200363, win = 0.10281319, lose = 0.00000001, back = 0.00000018, profit = 0.01080974 ( 8.428% to lose all)
win on turn 20 : bet = 0.01485054, spent = 0.10685417, win = 0.11831017, lose = 0.00000001, back = 0.00000019, profit = 0.01145619 ( 7.399% to lose all)
win on turn 21 : bet = 0.01707813, spent = 0.12393230, win = 0.13613170, lose = 0.00000001, back = 0.00000020, profit = 0.01219960 ( 6.496% to lose all)
win on turn 22 : bet = 0.01963984, spent = 0.14357214, win = 0.15662645, lose = 0.00000001, back = 0.00000021, profit = 0.01305452 ( 5.703% to lose all)
win on turn 23 : bet = 0.02258582, spent = 0.16615797, win = 0.18019542, lose = 0.00000001, back = 0.00000022, profit = 0.01403767 ( 5.007% to lose all)
win on turn 24 : bet = 0.02597369, spent = 0.19213166, win = 0.20729974, lose = 0.00000001, back = 0.00000023, profit = 0.01516831 ( 4.396% to lose all)
win on turn 25 : bet = 0.02986975, spent = 0.22200141, win = 0.23846970, lose = 0.00000001, back = 0.00000024, profit = 0.01646853 ( 3.859% to lose all)
win on turn 26 : bet = 0.03435021, spent = 0.25635162, win = 0.27431515, lose = 0.00000001, back = 0.00000025, profit = 0.01796378 ( 3.388% to lose all)
win on turn 27 : bet = 0.03950274, spent = 0.29585436, win = 0.31553743, lose = 0.00000001, back = 0.00000026, profit = 0.01968333 ( 2.974% to lose all)
win on turn 28 : bet = 0.04542815, spent = 0.34128252, win = 0.36294304, lose = 0.00000001, back = 0.00000027, profit = 0.02166079 ( 2.611% to lose all)
win on turn 29 : bet = 0.05224238, spent = 0.39352490, win = 0.41745950, lose = 0.00000001, back = 0.00000028, profit = 0.02393488 ( 2.293% to lose all)
win on turn 30 : bet = 0.06007873, spent = 0.45360363, win = 0.48015342, lose = 0.00000001, back = 0.00000029, profit = 0.02655008 ( 2.013% to lose all)
win on turn 31 : bet = 0.06909054, spent = 0.52269418, win = 0.55225144, lose = 0.00000001, back = 0.00000030, profit = 0.02955756 ( 1.767% to lose all)
win on turn 32 : bet = 0.07945413, spent = 0.60214830, win = 0.63516415, lose = 0.00000001, back = 0.00000031, profit = 0.03301616 ( 1.551% to lose all)
win on turn 33 : bet = 0.09137225, spent = 0.69352055, win = 0.73051378, lose = 0.00000001, back = 0.00000032, profit = 0.03699355 ( 1.362% to lose all)
win on turn 34 : bet = 0.10507808, spent = 0.79859863, win = 0.84016584, lose = 0.00002539, back = 0.00000033, profit = 0.04156754 ( 1.196% to lose all)
win on turn 35 : bet = 0.12083979, spent = 0.91943842, win = 0.96626572, lose = 0.00010419, back = 0.00002572, profit = 0.04685302 ( 1.050% to lose all)
win on turn 36 : bet = 0.13896576, spent = 1.05840419, win = 1.11128058, lose = 0.00019482, back = 0.00012991, profit = 0.05300630 ( 0.922% to lose all)
win on turn 37 : bet = 0.15981063, spent = 1.21821482, win = 1.27804767, lose = 0.00029905, back = 0.00032473, profit = 0.06015758 ( 0.809% to lose all)
win on turn 38 : bet = 0.18378222, spent = 1.40199704, win = 1.46982982, lose = 0.00041891, back = 0.00062378, profit = 0.06845656 ( 0.710% to lose all)
win on turn 39 : bet = 0.21134956, spent = 1.61334659, win = 1.69037929, lose = 0.00055674, back = 0.00104269, profit = 0.07807539 ( 0.624% to lose all)
win on turn 40 : bet = 0.24305199, spent = 1.85639858, win = 1.94401118, lose = 0.00071525, back = 0.00159943, profit = 0.08921203 ( 0.548% to lose all)
win on turn 41 : bet = 0.27950979, spent = 2.13590837, win = 2.23568786, lose = 0.00089754, back = 0.00231468, profit = 0.10209417 ( 0.481% to lose all)
win on turn 42 : bet = 0.32143626, spent = 2.45734463, win = 2.57111604, lose = 0.00110718, back = 0.00321222, profit = 0.11698363 ( 0.422% to lose all)
win on turn 43 : bet = 0.36965169, spent = 2.82699632, win = 2.95685845, lose = 0.00134825, back = 0.00431940, profit = 0.13418153 ( 0.370% to lose all)
win on turn 44 : bet = 0.42509945, spent = 3.25209577, win = 3.40046222, lose = 0.00162549, back = 0.00566765, profit = 0.15403410 ( 0.325% to lose all)
win on turn 45 : bet = 0.48886437, spent = 3.74096013, win = 3.91060655, lose = 0.00194432, back = 0.00729314, profit = 0.17693956 ( 0.286% to lose all)
win on turn 46 : bet = 0.56219402, spent = 4.30315415, win = 4.49727253, lose = 0.00231097, back = 0.00923746, profit = 0.20335584 ( 0.251% to lose all)
win on turn 47 : bet = 0.64652312, spent = 4.94967727, win = 5.17193841, lose = 0.00273261, back = 0.01154843, profit = 0.23380957 ( 0.220% to lose all)
win on turn 48 : bet = 0.74350159, spent = 5.69317887, win = 5.94780418, lose = 0.00321750, back = 0.01428104, profit = 0.26890635 ( 0.193% to lose all)
win on turn 49 : bet = 0.85502683, spent = 6.54820570, win = 6.84004980, lose = 0.00377513, back = 0.01749854, profit = 0.30934264 ( 0.170% to lose all)
win on turn 50 : bet = 0.98328085, spent = 7.53148655, win = 7.86613228, lose = 0.00441640, back = 0.02127367, profit = 0.35591940 ( 0.149% to lose all)
win on turn 51 : bet = 1.13077298, spent = 8.66225953, win = 9.04612712, lose = 0.00515386, back = 0.02569007, profit = 0.40955766 ( 0.131% to lose all)
win on turn 52 : bet = 1.30038893, spent = 9.96264846, win = 10.40312119, lose = 0.00600194, back = 0.03084393, profit = 0.47131666 ( 0.115% to lose all)
win on turn 53 : bet = 1.49544727, spent = 11.45809573, win = 11.96366437, lose = 0.00697723, back = 0.03684587, profit = 0.54241451 ( 0.101% to lose all)
win on turn 54 : bet = 1.71976436, spent = 13.17786009, win = 13.75828902, lose = 0.00809882, back = 0.04382310, profit = 0.62425203 ( 0.088% to lose all)
win on turn 55 : bet = 1.97772901, spent = 15.15558911, win = 15.82210737, lose = 0.00938864, back = 0.05192192, profit = 0.71844018 ( 0.078% to lose all)
win on turn 56 : bet = 2.27438837, spent = 17.42997747, win = 18.19549848, lose = 0.01087194, back = 0.06131056, profit = 0.82683157 ( 0.068% to lose all)
win on turn 57 : bet = 2.61554662, spent = 20.04552409, win = 20.92489825, lose = 0.01257773, back = 0.07218250, profit = 0.95155666 ( 0.060% to lose all)
win on turn 58 : bet = 3.00787861, spent = 23.05340271, win = 24.06370799, lose = 0.01453939, back = 0.08476023, profit = 1.09506551 ( 0.053% to lose all)
win on turn 59 : bet = 3.45906041, spent = 26.51246311, win = 27.67333919, lose = 0.01679530, back = 0.09929962, profit = 1.26017570 ( 0.046% to lose all)
win on turn 60 : bet = 3.97791947, spent = 30.49038258, win = 31.82441507, lose = 0.01938959, back = 0.11609492, profit = 1.45012741 ( 0.041% to lose all)
win on turn 61 : bet = 4.57460739, spent = 35.06498997, win = 36.59815234, lose = 0.02237303, back = 0.13548451, profit = 1.66864688 ( 0.036% to lose all)
win on turn 62 : bet = 5.26079849, spent = 40.32578846, win = 42.08795019, lose = 0.02580399, back = 0.15785754, profit = 1.92001927 ( 0.031% to lose all)
win on turn 63 : bet = 6.04991827, spent = 46.37570673, win = 48.40121772, lose = 0.02974959, back = 0.18366153, profit = 2.20917252 ( 0.027% to lose all)
win on turn 64 : bet = 6.95740601, spent = 53.33311274, win = 55.66147537, lose = 0.03428703, back = 0.21341112, profit = 2.54177375 ( 0.024% to lose all)
win on turn 65 : bet = 8.00101691, spent = 61.33412965, win = 64.01077168, lose = 0.03950508, back = 0.24769815, profit = 2.92434018 ( 0.021% to lose all)
win on turn 66 : bet = 9.20116945, spent = 70.53529910, win = 73.61246243, lose = 0.04550584, back = 0.28720323, profit = 3.36436656 ( 0.019% to lose all)
win on turn 67 : bet = 10.58134486, spent = 81.11664396, win = 84.65440680, lose = 0.05240672, back = 0.33270907, profit = 3.87047191 ( 0.016% to lose all)
win on turn 68 : bet = 12.16854659, spent = 93.28519056, win = 97.35264282, lose = 0.06034273, back = 0.38511579, profit = 4.45256805 ( 0.014% to lose all)
win on turn 69 : bet = 13.99382858, spent = 107.27901914, win = 111.95561424, lose = 0.06946914, back = 0.44545852, profit = 5.12205362 ( 0.013% to lose all)
win on turn 70 : bet = 16.09290287, spent = 123.37192201, win = 128.74903138, lose = 0.07996451, back = 0.51492766, profit = 5.89203703 ( 0.011% to lose all)
win on turn 71 : bet = 18.50683830, spent = 141.87876031, win = 148.06146109, lose = 0.09203419, back = 0.59489217, profit = 6.77759295 ( 0.010% to lose all)
win on turn 72 : bet = 21.28286405, spent = 163.16162436, win = 170.27075525, lose = 0.10591432, back = 0.68692636, profit = 7.79605725 ( 0.008% to lose all)
win on turn 73 : bet = 24.47529365, spent = 187.63691801, win = 195.81144354, lose = 0.12187646, back = 0.79284068, profit = 8.96736621 ( 0.007% to lose all)
win on turn 74 : bet = 28.14658770, spent = 215.78350571, win = 225.18323507, lose = 0.14023293, back = 0.91471714, profit = 10.31444650 ( 0.007% to lose all)
win on turn 75 : bet = 32.36857586, spent = 248.15208157, win = 258.96079533, lose = 0.16134287, back = 1.05495007, profit = 11.86366383 ( 0.006% to lose all)
win on turn 76 : bet = 37.22386224, spent = 285.37594380, win = 297.80498963, lose = 0.18561931, back = 1.21629294, profit = 13.64533877 ( 0.005% to lose all)
win on turn 77 : bet = 42.80744157, spent = 328.18338538, win = 342.47581308, lose = 0.21353720, back = 1.40191225, profit = 15.69433995 ( 0.004% to lose all)
win on turn 78 : bet = 49.22855781, spent = 377.41194318, win = 393.84726004, lose = 0.24564278, back = 1.61544945, profit = 18.05076631 ( 0.004% to lose all)
win on turn 79 : bet = 56.61284148, spent = 434.02478466, win = 452.92442405, lose = 0.28256420, back = 1.86109223, profit = 20.76073162 ( 0.003% to lose all)
win on turn 80 : bet = 65.10476770, spent = 499.12955236, win = 520.86316265, lose = 0.32502383, back = 2.14365643, profit = 23.87726672 ( 0.003% to lose all)
win on turn 81 : bet = 74.87048285, spent = 574.00003521, win = 598.99271205, lose = 0.37385241, back = 2.46868026, profit = 27.46135710 ( 0.003% to lose all)
win on turn 82 : bet = 86.10105528, spent = 660.10109049, win = 688.84169386, lose = 0.43000527, back = 2.84253267, profit = 31.58313604 ( 0.002% to lose all)
win on turn 83 : bet = 99.01621357, spent = 759.11730407, win = 792.16802294, lose = 0.49458106, back = 3.27253794, profit = 36.32325681 ( 0.002% to lose all)
win on turn 84 : bet = 113.86864561, spent = 872.98594968, win = 910.99330138, lose = 0.56884322, back = 3.76711900, profit = 41.77447070 ( 0.002% to lose all)
Here's the output for the game I was playing. I won on turn 10, so my profit should have been 42.28775196. But I paid 5 transaction fees of 0.0005 each, so it was a little less, at 42.28525196.