f(1)=0, f(n)>=0

[f(n+1)]^2=(1-f(n))/2