login
A006281
Partial quotients in continued fraction expansion of 2C-1, where C is Cahen's constant.
(Formerly M2260)
7
0, 3, 2, 18, 98, 33282, 319994402, 354455304050635218, 36294953231792713902640647988908098
OFFSET
0,2
REFERENCES
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
J. L. Davison and Jeffrey O. Shallit, Continued Fractions for Some Alternating Series, Monatshefte für Mathematik, Vol. 111 (1991), pp. 119-126; alternative link.
MATHEMATICA
s[0] = 2; s[n_] := s[n] = s[n - 1]^2 - s[n-1] + 1; h[0] = 1; h[n_] := h[n] = (s[n] - 1)/(2*h[n-1]); a[0] = 0; a[1] = 3; a[n_] := 2*h[n-1]^2; Array[a, 9, 0] (* Amiram Eldar, Mar 19 2024 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved