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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A059904 Periodic part of continued fraction for sqrt(n), encoded by recursively interleaving the bits in the binary expansions of the repeating terms. 2

%I

%S 0,4,33,0,16,516,549755813899,513,0,20,549,548,

%T 604462909948052075708555,549764202537,545,0,64,8208,

%U 13479973333575319897333507543509815336818572211270286381289293482126

%N Periodic part of continued fraction for sqrt(n), encoded by recursively interleaving the bits in the binary expansions of the repeating terms.

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

%F a(n)=A059884(A059903(n))

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

%e .....0 0 0 0 1 -> 1

%e ....... 1 . 0 .-> 2

%e --------------

%e .....000100001 = 33.

%Y A059903, A059884, A003285.

%K base,easy,nonn

%O 1,2

%A _Marc LeBrun_, Feb 07 2001

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

License Agreements, Terms of Use, Privacy Policy .

Last modified February 19 08:38 EST 2018. Contains 299330 sequences. (Running on oeis4.)