Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A059904
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A059904 Periodic part of continued fraction for sqrt(n), encoded by recursively interleaving the bits in the binary expansions of the repeating terms. +0
3
0, 4, 33, 0, 16, 516, 549755813899, 513, 0, 20, 549, 548, 604462909948052075708555, 549764202537, 545, 0, 64, 8208, 13479973333575319897333507543509815336818572211270286381289293482126 (list; graph; listen)
OFFSET

1,2

COMMENT

Could be made less gigantic by omitting final terms in continued fraction, which are always 2*c0.

FORMULA

a(n)=A059884(A059903(n))

EXAMPLE

sqrt(3)=1+[1,2] so a(3) is encoded as:

.....0 0 0 0 1 -> 1

....... 1 . 0 .-> 2

--------------

.....000100001 = 33.

CROSSREFS

A059903, A059884, A003285.

Sequence in context: A012092 A027639 A117620 this_sequence A145645 A042831 A092207

Adjacent sequences: A059901 A059902 A059903 this_sequence A059905 A059906 A059907

KEYWORD

base,easy,nonn

AUTHOR

Marc LeBrun (mlb(AT)well.com), Feb 07 2001

page 1

Search completed in 0.004 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 December 11 12:57 EST 2009. Contains 170656 sequences.


AT&T Labs Research