Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A100340
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A100340 Numerators of the convergents in the continued fraction expansion for the constant given by A100338, where the partial quotients equal A006519 (greatest power of 2 dividing n). +0
4
1, 3, 4, 19, 23, 65, 88, 769, 857, 2483, 3340, 15843, 19183, 54209, 73392, 1228481, 1301873, 3832227, 5134100, 24368627, 29502727, 83374081, 112876808, 986388545, 1099265353, 3184919251, 4284184604, 20321657667, 24605842271, 69533342209 (list; graph; listen)
OFFSET

1,2

COMMENT

The convergents for the continued fraction of x are given by A100340(n)/A100341(n) and the convergents for the continued fraction of 2*x are given by A100342(n)/A100343(n), where A100342(n)/A100343(n) = 2*A100340(n)/A100341(n) for all n.

FORMULA

a(1) = 1, a(2) = 3, a(n) = a(n-1)*A006519(n) + a(n-2).

EXAMPLE

The constant is x=1.353871128429882374388894084016608124227333416812...

contfrac(x) = [1;2,1,4,1,2,1,8,1,2,1,4,1,2,1,16,...A006519(n),... ].

PROGRAM

(PARI) a(n)=if(n==1, 1, if(n==2, 3, a(n-1)*2^valuation(n, 2)+a(n-2)))

CROSSREFS

Cf. A100338, A006519, A100341, A100342, A100343.

Adjacent sequences: A100337 A100338 A100339 this_sequence A100341 A100342 A100343

Sequence in context: A025113 A089427 A020344 this_sequence A042175 A041703 A036253

KEYWORD

cofr,nonn

AUTHOR

Paul D. Hanna (pauldhanna(AT)juno.com), Nov 18 2004

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 October 13 02:37 EDT 2008. Contains 145008 sequences.


AT&T Labs Research