OFFSET
1,1
COMMENTS
The maximum number of partial quotients in CF(1/n+1/k) equals A091942(n). Limit of a(n)/n^2 = (3+sqrt(5))/2 = 2.618...
EXAMPLE
a(100001)=26174739625; 26174739625/100001^2 = 2.61742...
a(1000001)=2617923148538; 2617923148538/1000001^2 = 2.61791...
PROG
(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=k)); A}
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Feb 15 2004
STATUS
approved