Search: id:A118251 Results 1-1 of 1 results found. %I A118251 %S A118251 1,0,1,1,1,0,0,1,0,0,0,1,0,1,0,1,1,1,0,1,0,0,1,1,1,1,1,1,0,0,0,0,1,0,1, %T A118251 1,0,1,0,0,0,1,1,1,1,0,1,1,0,0,0,0,0,1,1,1,0,0,0,1,0,0,1,0,0,1,0,1,1,0, %U A118251 0,1,1,1,0,1,0,1,0,0,1,1,0,1,0,1,1,0,1,1,1,1,0,1,1,1,0,0,0,0,0,0,1,0,1 %N A118251 a(1)=1. Concatenate onto the end of the sequence (from left to right) the integer m_n converted into binary and reversed (with the most significant digit on the right), where m_n is the smallest integer > A118252(n-1) and whose reversed binary representation does not occur anywhere earlier in the sequence (when the concatenated sequence is read from left to right). A118252(n) then equals m_n when written in decimal. %H A118251 Leroy Quet, Home Page (listed in lieu of email address) %e A118251 The sequence begins 1,0,1,1,1,0,0,1,0,0,0,1,0,1,0,1,1,1,0,1,0,0,1,1. Now A118252(8) = 12, which is represented by the 0,0,1,1 at the end of the sequence. The binary representation of 13 (1011 in binary and reversed) and 14 (0111 in binary and reversed) both occur earlier in the sequence. But the binary representation of 15 (1111 in binary and reversed) does not occur earlier in the sequence, so (1,1,1,1) is added to the end of the sequence. And A118252(9) becomes 15. %Y A118251 Cf. A118247, A118249, A118252. %Y A118251 Sequence in context: A093521 A167364 A000480 this_sequence A099076 A030308 A120530 %Y A118251 Adjacent sequences: A118248 A118249 A118250 this_sequence A118252 A118253 A118254 %K A118251 easy,nonn,base %O A118251 1,1 %A A118251 Leroy Quet, Apr 18 2006 %E A118251 More terms from Joshua Zucker (joshua.zucker(AT)stanfordalumni.org), Jul 27 2006 Search completed in 0.001 seconds