OFFSET
0,1
COMMENTS
[0; 1+sqrt(2), 1+sqrt(2), 1+sqrt(2), ...].
Repeat s = s + 1+sqrt(2); s=1/s. The initial value of s is irrelevant, as long as s != -(1+sqrt(2)).
An algebraic integer.
In general, for the metallic number M = [N; N, N, N, ...], the number defined by the continued fraction [0; M, M, M, ...] is the smallest positive real root of x^4 + N*x^3 - 3*x^2 - N*x + 1 = 0.
LINKS
FORMULA
Equals (sqrt(7+2*sqrt(2))-sqrt(2)-1)/2.
Equals 1/A188636.
Smallest positive real root of x^4 + 2*x^3 - 3*x^2 - 2*x + 1 = 0.
EXAMPLE
0.360409337131394214396560913709779476095838...
MATHEMATICA
RealDigits[(Sqrt[7+2*Sqrt[2]]-Sqrt[2]-1)/2, 10, 100][[1]] (* Stefano Spezia, Apr 01 2026 *)
PROG
(PARI) (sqrt(7+2*sqrt(2))-sqrt(2)-1)/2
(PARI) polrootsreal(Pol([1, 2, -3, -2, 1]))[3]
(PARI) solve(x = 0.01, 1, log(x + 1 + sqrt(2)) + log(x))
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
A.H.M. Smeets, Mar 31 2026
STATUS
approved
