|
|
A006281
|
|
Partial quotients in continued fraction expansion of 2C-1, where C is Cahen's constant.
(Formerly M2260)
|
|
7
|
|
|
|
OFFSET
|
0,2
|
|
REFERENCES
|
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
|
|
LINKS
|
|
|
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
|
|
|
|