I've been throwing some virtual baskets and here's the results I came up with -
First basket made on average in 1.3947 ~ (1/.717) attempts.
2*100*100 iterations
First two consecutive baskets made in 3.3288 attempts.
3*50*50, 3.336, 3.3008, 3.3496
First three consecutive baskets made in 6.1 attempts.
1*50*50
First four consecutive baskets made in 9.8984 attempts.
2*50*50, 9.9608, 9.836
First five consecutive baskets made in 15.15 attempts.
1*50*50
First six consecutive baskets made in 22.2838 attempts.
2*50*50, 22.7708, 21.7968
First seven consecutive baskets made in 31.8924 attempts.
1*50*50
First eight consecutive baskets made in 46.9 attempts.
2*50*50, 46.4328, 47.44
First nine consecutive baskets made in 67.38 attempts.
2*50*50, 67.1548, 67.614
First ten consecutive baskets made in 92.8152 attempts.
1*50*50
The program used to obtain the values listed -
Set initial values:
Shot accuracy variable used (.717)
Set length of run of consecutive successful baskets to be made.
Counter of consecutive baskets made (initially set to zero and reset to zero upon each unsuccessful attempt)
Counter of attempts made to achieve a successful run (initially set to zero at beginning of each new trial)
Set number of successfully completed runs to be averaged.
Add number of attempts required to complete each run and divide by number of successful runs completed.
Accumulate an equal number of such trials together and divide sum by number of trials to obtain an overall average.
In the examples given I typically averaged together 50 sets of the averages for 50 successful runs each for a total of 2500 successful runs at each level.