This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A071862 Number of elements in the continued fraction for Sum_{d|n} 1/d. 3
 1, 2, 2, 3, 2, 1, 2, 3, 3, 3, 2, 2, 2, 4, 4, 3, 2, 2, 2, 2, 4, 5, 2, 2, 3, 6, 3, 1, 2, 3, 2, 3, 3, 5, 5, 5, 2, 6, 5, 2, 2, 3, 2, 3, 5, 5, 2, 5, 3, 4, 4, 5, 2, 3, 4, 2, 4, 5, 2, 3, 2, 6, 6, 3, 6, 3, 2, 5, 5, 3, 2, 5, 2, 6, 7, 4, 3, 3, 2, 3, 3, 5, 2, 3, 6, 6, 6, 2, 2, 4, 3, 5, 6, 5, 4, 5, 2, 6, 6, 5, 2, 3, 2, 2, 5 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS Antti Karttunen, Table of n, a(n) for n = 1..65537 FORMULA It seems that Sum_{k=1..n} a(k) ~ C*n*log(n) with C = 0.6.... EXAMPLE Sum_{d|48} 1/d = 31/12, whose continued fraction is [2, 1, 1, 2, 2] with 5 elements, hence a(48)=5. PROG (PARI) for(n=1, 150, print1(length(contfrac(sumdiv(n, d, 1/d))), ", ")) CROSSREFS Sequence in context: A262815 A076494 A217721 * A030362 A007906 A044050 Adjacent sequences:  A071859 A071860 A071861 * A071863 A071864 A071865 KEYWORD nonn AUTHOR Benoit Cloitre, Jun 09 2002 STATUS approved

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 March 26 18:36 EDT 2019. Contains 321511 sequences. (Running on oeis4.)