login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A091942 a(n) equals the maximum number of partial quotients in the simple continued fraction expansion of (1/n + 1/k) for k>=1. 3

%I #3 Mar 30 2012 18:36:40

%S 2,6,7,8,9,9,11,11,12,11,12,14,13,13,13,13,14,13,13,14,15,14,14,14,14,

%T 15,14,15,15,15,16,16,16,17,15,16,16,16,17,15,17,17,17,16,16,17,17,17,

%U 17,17,17,17,18,16,19,17,19,18,17,17,18,18,18,18,18,18,19,19,18,19,18

%N a(n) equals the maximum number of partial quotients in the simple continued fraction expansion of (1/n + 1/k) for k>=1.

%F a(n) = length(contfrac(1/A091941(n) + 1/n)).

%o (PARI) {a(n)=local(A);M=0;for(k=2*n^2-1,3*n^2, L=length(contfrac(1/k+1/n));if(L>M,M=L;A=M));A}

%Y Cf. A091941, A091943, A091944.

%K nonn

%O 1,1

%A _Paul D. Hanna_, Feb 15 2004

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 20:05 EDT 2024. Contains 371254 sequences. (Running on oeis4.)