login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A140591 Duplicate of A095901. 0
0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

I made this to compare to the Thue-Morse sequence: A010060;

This sequence has longer runs of 1's and 0's than Thue-Morse.

It also suggests an odd even type projection of the Thue-Morse:

a(n)=If[A010060[n]==0,2*n,2*n+1]

LINKS

Table of n, a(n) for n=0..100.

FORMULA

a(n)]=If[(-1)^A004002[n]==1,0,1]

MATHEMATICA

(*A004001*) f[0] = 0; f[1] = 1; f[2] = 1; f[n_] := f[n] = f[f[n - 1]] + f[n - f[n - 1]]; Table[If[(-1)^f[n] == 1, 0, 1], {n, 0, 100}]

CROSSREFS

Cf. A004001, A010060.

Sequence in context: A023959 A076182 A010058 * A203568 A079336 A057215

Adjacent sequences:  A140588 A140589 A140590 * A140592 A140593 A140594

KEYWORD

dead

AUTHOR

Roger L. Bagula and Gary W. Adamson, Jul 06 2008

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified February 24 06:13 EST 2018. Contains 299597 sequences. (Running on oeis4.)