login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A070901 a(1)=1, a(n) is the smallest integer > a(n-1) such that the largest element in the simple continued fraction for S(n)=1/a(1)+1/a(2)+...+1/a(n) equals prime(n). 0
1, 3, 8, 85, 103, 349, 361, 429, 500, 505, 1832, 1895, 1996, 2195, 2202, 2290, 2531, 2575, 2688, 3040, 3189, 3280, 3792, 5103, 5151, 7712, 21398, 21914, 22472, 22603, 22814, 23184, 23375, 24368, 24370, 24545, 24812, 25015, 25262, 25613, 26171 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Sum(k=>1,1/a(k))=C=1.498...

LINKS

Table of n, a(n) for n=1..41.

EXAMPLE

The continued fraction for S(4)=1+1/3+1/8+1/85 is [1, 2, 7, 1, 6, 5, 1, 2] where the largest element is 7=prime(4).

PROG

(PARI) s=1; t=1; for(n=1, 60, s=s+1/t; while(abs(length(contfrac(s+1/t))-vecmax(contfrac(s+1/t)))>0, t++); print1(t, ", "))

CROSSREFS

Sequence in context: A092372 A208817 A060752 * A079657 A136309 A069703

Adjacent sequences:  A070898 A070899 A070900 * A070902 A070903 A070904

KEYWORD

easy,nonn

AUTHOR

Benoit Cloitre, May 19 2002

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified May 25 16:33 EDT 2013. Contains 225647 sequences.