Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A070898
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A070898 a(0)=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(0)+1/a(1)+1/a(2)+...+1/a(n) equals 2n. +0
1
1, 2, 7, 15, 16, 23, 50, 60, 72, 123, 149, 164, 166, 185, 236, 494, 495, 569, 589, 654, 802, 951, 968, 1068, 1178, 1323, 1356, 1379, 1399, 1487, 1946, 2458, 2500, 2786, 2911, 3077, 4282, 4916, 5156, 5591, 6047, 6103, 6639, 7095, 7786, 8068, 8493, 9456 (list; graph; listen)
OFFSET

0,2

COMMENT

sum(k=>1,1/a(k))=C=1.9...

EXAMPLE

The simple continued fraction for S(3)=1/a(0)+1/a(1)+1/a(2)+1/a(3)=1+1/2+1/7+1/15 is [1, 1, 2, 2, 3, 1, 6] where the largest element is 6=2*3. The simple continued fraction for 1+1/2+1/7+1/15+1/16 is [1, 1, 3, 2, 1, 1, 2, 2, 1, 8] where 8=2*4 is the largest element. Hence a(4)=16.

PROGRAM

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

CROSSREFS

Sequence in context: A132997 A088824 A034903 this_sequence A132746 A167543 A029888

Adjacent sequences: A070895 A070896 A070897 this_sequence A070899 A070900 A070901

KEYWORD

easy,nonn

AUTHOR

Benoit Cloitre (benoit7848c(AT)orange.fr), May 19 2002

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research