Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A108882
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A108882 Period doubling sequence starting with '1 0 1'. +0
1
1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1 (list; graph; listen)
OFFSET

1,1

COMMENT

Start with S = 1,0,1; replace S by SS and complement the last bit; iterate.

Similar to A035263 but with a different start.

MATHEMATICA

f[l_] := Block[{s = Flatten[{l, l}]}, s[[ -1]] = Mod[s[[ -1]] + 1, 2]; s]; Nest[f, {1, 0, 1}, 6] (from Robert G. Wilson v (rgwv(AT)rgwv.com), Jul 16 2005)

PROGRAM

s=[1 0 1]; loop s=concat(s, s); s(length(s))=(s(length(s))+1)modulo2 endloop

CROSSREFS

Cf. A035263.

Sequence in context: A132138 A141212 A137893 this_sequence A070829 A118175 A120526

Adjacent sequences: A108879 A108880 A108881 this_sequence A108883 A108884 A108885

KEYWORD

easy,nonn

AUTHOR

Alexandre E. Losev (alosev(AT)svr.igic.bas.bg), Jul 14 2005

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Jul 16 2005

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 7 08:40 EST 2009. Contains 170430 sequences.


AT&T Labs Research