A228931 Optimal ascending continued fraction expansion of sqrt(2)-1.
2, -6, 34, 1154, 1331714, 1773462177794, 3145168096065837266706434, 9892082352510403757550172975146702122837936996354
Offset: 1
Examples
sqrt(2)=1+1/2*(1-1/6*(1+1/34*(1+1/1154*(1+1/1331714*(1+1/1773462177794*(1+.....))))))
Links
- P. Bala, A modified Engel expansion for certain quadratic irrationals
- Giovanni Artico, Proof of the conjecture
Programs
-
Maple
ArticoExp := proc (n, q::posint)::list; local L, i, z; Digits := 50000; L := []; z := frac(evalf(n)); for i to q+1 do if z = 0 then break end if; L := [op(L), round(1/abs(z))*sign(z)]; z := abs(z)*round(1/abs(z))-1 end do; return L end proc # List the first 8 terms of the expansion of sqrt(2)-1 ArticoExp(sqrt(2),8)
-
Mathematica
Flatten[{2, RecurrenceTable[{a[n] == a[n-1]^2 - 2, a[2] == -6}, a, {n, 2, 10}]}] (* Vaclav Kotesovec, Sep 20 2013 *)
Formula
a(n) = a(n-1)^2 - 2, for n > 2.
For n>2, a(n) = (sqrt(2)+1)^(2^(n-1)) + (sqrt(2)-1)^(2^(n-1)). - Vaclav Kotesovec, Sep 20 2013
Extensions
Added a pdf file with a proof of the conjecture by Giovanni Artico
Comments