Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A153778
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
%I A153778
%S A153778 1,1,0,1,0,1,1,1,0,1,1,0,1,1,0,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,1,0,1,1,
%T A153778 0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,0,1,1,0,1,1,
%U A153778 0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1
%N A153778 Binary sequence constructed like a Stern-Brocot tree between 0 and 1, 
               where XOR is applied instead of the mediant operation.
%C A153778 The Jacobsthal sequence gives numbers of zeros and ones in the rows of 
               the tree:
%C A153778 A001045(k) = #{i: 2^k <= i < 2^(k+1) and a(i)=0};
%C A153778 A001045(k+1) = #{i: 2^k <= i < 2^(k+1) and a(i)=1}.
%H A153778 N. J. A. Sloane, <a href="stern_brocot.html">Stern-Brocot or Farey Tree</
               a>
%H A153778 <a href="Sindx_St.html#Stern">Index entries for sequences related to 
               Stern's sequences</a>
%F A153778 a(1) = 1 and for n>1: a(n) = if A025480(n-1)<>0 and A025480(n)<>0 then 
               a(A025480(n-1)) XOR a(A025480(n)) else if A025480(n)=0 then 1-a(A025480(n-1)) 
               else a(A025480(n-1)).
%e A153778 .[0] . . . . . . . . . . . . . . . . . [1]
%e A153778 ................... 1
%e A153778 ........... 1 ............. 0
%e A153778 ....... 1 ..... 0 ..... 1 ..... 1
%e A153778 ..... 1 . 0 . 1 . 1 . 0 . 1 . 1 . 0
%e A153778 .... 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1.
%Y A153778 Sequence in context: A103842 A065535 A093719 this_sequence A065251 A039982 
               A131372
%Y A153778 Adjacent sequences: A153775 A153776 A153777 this_sequence A153779 A153780 
               A153781
%K A153778 nonn,tabf
%O A153778 1,1
%A A153778 Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Jan 01 2009

    
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 December 15 00:47 EST 2009. Contains 170825 sequences.


AT&T Labs Research