# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a030315 Showing 1-1 of 1 %I A030315 #30 May 22 2023 08:57:17 %S A030315 1,0,0,1,0,0,0,1,1,0,1,0,0,0,1,0,0,0,0,1,1,1,0,1,1,0,0,1,0,1,0,1,0,0, %T A030315 0,0,1,1,0,0,1,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,1,1,1,0,0,1,1,0,1,0,1,1, %U A030315 0,0,0,1,0,1,1,0,1,0,1,0,0,1,0,0,1,0,1,0,0,0,0 %N A030315 Write n in base 2, complement each digit (d -> 1-d) and append the complemented digits to the sequence. %H A030315 Harvey P. Dale, Table of n, a(n) for n = 0..1000 %H A030315 Eric W. Weisstein, Champernowne Constant. %F A030315 a(n) = 1 - A030190(n). - _Amiram Eldar_, May 22 2023 %e A030315 To get the initial terms: %e A030315 0 -> 1 %e A030315 1 -> 0 %e A030315 2 = 10 -> 0, 1 %e A030315 3 = 11 -> 0, 0 %e A030315 4 = 100 -> 0, 0, 1 %e A030315 5 = 101 -> 0, 1, 0, %e A030315 ... %e A030315 and concatenating 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, ... gives the start of the sequence. - _N. J. A. Sloane_, Jan 30 2023 %t A030315 Table[IntegerDigits[n,2]/.{1->0,0->1},{n,0,30}]//Flatten (* _Harvey P. Dale_, Jan 30 2023 *) %Y A030315 Cf. A030190, A180433. [_Jonathan Vos Post_, Sep 05 2010] %K A030315 nonn,base %O A030315 0,1 %A A030315 _Clark Kimberling_ %E A030315 a(0)=1 added by _Jonathan Vos Post_, Sep 05 2010 %E A030315 Edited by _N. J. A. Sloane_, Jan 30 2023 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE