f(x) = | { |
cx ,
c(1 - x) , |
0 ≤ x ≤ 1/2
1/2 < x ≤ 1 |
0 | . | p1 p2 p3 p4 ... |
s1= p1 | . | (p1 p2 ) (p1 p3 ) (p1 p4 ) ... |
s2= p1 p2 | . | (p1 p2 p1 p3 ) (p1 p2 p1 p4 ) ... or taking into account that pk2 = 1 |
. | (p2 p3 ) (p2 p4 ) ... | |
s3= p2 p3 | . | (p3 p4 ) (p3 p5 ) ... |
... | ||
sn= pn-1 pn | . | (pn pn+1 ) (pn pn+2 ) ... |
bn = | { |
bn-1
1 - bn-1 |
if sn = 0
if sn = 1 |