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.

A078976 Numerator of n-th convergent to e^(2/3).

This page as a plain text file.
%I A078976 #22 May 09 2025 03:16:33
%S A078976 1,2,37,261,298,559,5888,318511,5102064,5420575,10522639,205350716,
%T A078976 18492087079,462507527691,480999614770,943507142461,26899199603678,
%U A078976 3390242657205889,115295149544603904,118685392201809793,233980541746413697,8775965436819116582,1421940381306443299981
%N A078976 Numerator of n-th convergent to e^(2/3).
%F A078976 Special cases : a(5k+1) = A001518(3k); a(5k+3) = A001518(3k+2).
%t A078976 Convergents[Exp[2/3], 25] // Numerator (* _Amiram Eldar_, May 09 2025 *)
%o A078976 (PARI)
%o A078976 default(realprecision,100); /* large enough */
%o A078976 a(n)=contfracpnqn(contfrac(exp(2/3), n))[1,1]
%o A078976 vector(30,n,a(n))
%Y A078976 Cf. A069951, A001518, A007676, A078977 (denominators).
%K A078976 frac,nonn
%O A078976 1,2
%A A078976 _Benoit Cloitre_, Dec 19 2002