Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A128840
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A128840 Denominators of the continued fraction convergents of the decimal concatenation of the odd natural numbers. +0
1
7, 15, 22, 59, 81, 1031, 1112, 3255, 10877, 14132, 81537, 95669, 177206, 272875, 722956, 3164699, 7052354, 45478823, 98010000 (list; graph; listen)
OFFSET

1,1

COMMENT

The 19th convergent breaks down at number 95 so a 16 digit ratio gives 91 digits accuracy!

FORMULA

The odd natural numbers 1,3,5.. are concatenated and then preceded by a decimal point to create the fraction N = .1357911131517... . This number is then evaluated with n=1,m=steps to iterate,x = N, a(0)=floor(N) using the loop: do a(n)=floor(x) x=1/(x-a(n)) n=n+1 loop until n=m

EXAMPLE

The 19th convergent 13308887/98010000 =

0.13579111315171921232527293133353739414345474951535557596163656769717375777981\

8385878991939598000...

PROGRAM

(PARI) catodd(n) = f="."; forstep(x=1, n, 2, a=concat(f, Str(x))); f=eval(f) cfrac2(m, f) = { default(realprecision, 1000); cf = vector(m+10); cf = contfrac(f); for(m1=1, m-1, r=cf[m1+1]; forstep(n=m1, 1, -1, r = 1/r; r+=cf[n]; ); numer=numerator(r); denom=denominator(r); print1(denom", "); ) }

CROSSREFS

Sequence in context: A082658 A022389 A041225 this_sequence A041935 A041092 A004215

Adjacent sequences: A128837 A128838 A128839 this_sequence A128841 A128842 A128843

KEYWORD

frac,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)hotmail.com), Apr 16 2007

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 September 5 19:27 EDT 2008. Contains 143485 sequences.


AT&T Labs Research