OFFSET
0,2
REFERENCES
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
Amiram Eldar, Table of n, a(n) for n = 0..12
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