login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A030315 Write n in base 2, complement each digit (d -> 1-d) and append the complemented digits to the sequence. 3

%I #30 May 22 2023 08:57:17

%S 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 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 0,0,0,1,0,1,1,0,1,0,1,0,0,1,0,0,1,0,1,0,0,0,0

%N Write n in base 2, complement each digit (d -> 1-d) and append the complemented digits to the sequence.

%H Harvey P. Dale, <a href="/A030315/b030315.txt">Table of n, a(n) for n = 0..1000</a>

%H Eric W. Weisstein, <a href="http://mathworld.wolfram.com/ChampernowneConstant.html">Champernowne Constant</a>.

%F a(n) = 1 - A030190(n). - _Amiram Eldar_, May 22 2023

%e To get the initial terms:

%e 0 -> 1

%e 1 -> 0

%e 2 = 10 -> 0, 1

%e 3 = 11 -> 0, 0

%e 4 = 100 -> 0, 0, 1

%e 5 = 101 -> 0, 1, 0,

%e ...

%e 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 Table[IntegerDigits[n,2]/.{1->0,0->1},{n,0,30}]//Flatten (* _Harvey P. Dale_, Jan 30 2023 *)

%Y Cf. A030190, A180433. [_Jonathan Vos Post_, Sep 05 2010]

%K nonn,base

%O 0,1

%A _Clark Kimberling_

%E a(0)=1 added by _Jonathan Vos Post_, Sep 05 2010

%E Edited by _N. J. A. Sloane_, Jan 30 2023

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 9 05:21 EDT 2024. Contains 372344 sequences. (Running on oeis4.)