cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A125676 a(n) = floor(abs(b(n))), where b(1) = 2, b(n) = b(n-1) - 1/b(n-1).

This page as a plain text file.
%I A125676 #16 Aug 10 2021 11:11:05
%S A125676 2,1,0,0,2,1,1,0,0,0,0,1,1,0,3,3,3,2,2,1,1,0,1,0,24,24,24,24,24,24,24,
%T A125676 24,24,24,24,24,24,24,24,24,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
%U A125676 23,23,23,23,23,23,23,23,23,23,22,22,22,22,22,22,22,22
%N A125676 a(n) = floor(abs(b(n))), where b(1) = 2, b(n) = b(n-1) - 1/b(n-1).
%t A125676 f[l_List] := Append[l, l[[ -1]] - 1/l[[ -1]]];Floor /@ Abs /@ Nest[f, {2}, 30] (* _Ray Chandler_, Feb 08 2007 *)
%o A125676 (PARI) lista(nn) = my(b=2); print1(2); for(n=2, nn, print1(", ", floor(abs(b-=1/b)))); \\ _Jinyuan Wang_, Aug 10 2021
%Y A125676 Cf. A127814, A127815.
%K A125676 nonn
%O A125676 1,1
%A A125676 _Leroy Quet_, Jan 30 2007
%E A125676 a(9)-a(31) from _Ray Chandler_, Feb 08 2007
%E A125676 More terms from _Jinyuan Wang_, Aug 10 2021