The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A078976 Numerator of n-th convergent to e^(2/3). 1

%I

%S 1,2,37,261,298,559,5888,318511,5102064,5420575,10522639,205350716,

%T 18492087079,462507527691,480999614770,943507142461,26899199603678,

%U 3390242657205889,115295149544603904,118685392201809793

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

%F Special cases : a(5k+1)=A001518(3k); a(5k+3)=A001518(3k+2)

%o (PARI) a(n)=component(component(contfracpnqn(contfrac(exp(2/3),n)),1),1) (Warning: this will give only a limited number of correct terms, depending on the precision used. - The Editors, Oct 13 2009).

%o (PARI, better code)

%o default(realprecision,100); /* large enough */

%o a(n)=contfracpnqn(contfrac(exp(2/3), n))[2,1]

%o vector(30,n,a(n))

%Y Cf. A069951, A001518, A007676, A078977.

%K frac,nonn

%O 1,2

%A _Benoit Cloitre_, Dec 19 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified June 18 01:16 EDT 2021. Contains 345098 sequences. (Running on oeis4.)