166 AN EXAMINATION OF SOME QUESTIONS 



Still, however, the knowledge of the order in which the 

 events take place is not absolutely required. It will be sufficient 

 to know how many changes from odd to even, and vice versa, 

 occur between the quantities a, b, c, d, e, &c. ; for if there is 

 no change in going from a to 6, the first term will be + i ; but 

 if there is a change it vs^ill be — 1 ; and generally — 1 will oc- 

 cur as often as there is a change from odd to even, or from 

 even to odd in the series 



a, b, c, d, e, &c. 



If, therefore, h denote the number of transitions, since 

 the number of terms is p-\-q — 1, the value of the series 

 will be 



p-\-q — 2k—\; 

 and the whole value of the part dependent on v will be 



- I { ^P-qf - iP-^^) - (i'+9) + 2k+\-[-\Y ip-q) + 1 } 

 and the profit on the whole number of bets is 



W = {p-q)u- I { {p-qf-^ {p-^q) + 2 A: + 2- 



{-!)" {P-<1) } (2) 



if 2> zr g, then 



^^zz + v{2p-k-\) (3) 



k in the first of these expressions may vary from tO^+9'— 1, 

 and in the second from 1 to 2p — 1. 



In order to compare this with an example, let the following 



series 



