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
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, 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, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
Eric W. Weisstein, Champernowne Constant.
FORMULA
a(n) = 1 - A030190(n). - Amiram Eldar, May 22 2023
EXAMPLE
To get the initial terms:
0 -> 1
1 -> 0
2 = 10 -> 0, 1
3 = 11 -> 0, 0
4 = 100 -> 0, 0, 1
5 = 101 -> 0, 1, 0,
...
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
MATHEMATICA
Table[IntegerDigits[n, 2]/.{1->0, 0->1}, {n, 0, 30}]//Flatten (* Harvey P. Dale, Jan 30 2023 *)
CROSSREFS
Cf. A030190, A180433. [Jonathan Vos Post, Sep 05 2010]
Sequence in context: A269625 A359828 A359781 * A119498 A070912 A014108
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
a(0)=1 added by Jonathan Vos Post, Sep 05 2010
Edited by N. J. A. Sloane, Jan 30 2023
STATUS
approved

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 March 19 01:57 EDT 2024. Contains 370952 sequences. (Running on oeis4.)