X=input("X = ")
P=input("P = ")
N=3;X=X-1;S=X;T=X-X^2/2
while S-T>P
    S=T+(X^N)/N
    T=S-(X^(N+1))/(N+1)
    N=N+2
end
message=string(T)+" < ln(X) < "+string(S)
afficher(message)
afficher("N = "+string(N))