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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A136546 Three-part semi-chaotic binary digit sum/product sequence modeled on a Rudin-Shapiro-type sequence like A014081. 1
0, 0, 1, 1, 1, 3, 3, 4, 4, 4, 5, 7, 7, 8, 9, 10, 9, 10, 11, 11, 11, 13, 13, 15, 15, 16, 16, 18, 18, 19, 20, 21, 20, 21, 22, 22, 22, 24, 25, 25, 25, 26, 26, 28, 28, 29, 30, 32, 31, 32 (list; graph; refs; listen; history; internal format)
OFFSET

1,6

FORMULA

a(n)=Sum[1 - Mod[n - Floor[n/2^m], 2] + Mod[n - Floor[n/2^m], 2]Mod[n - Floor[n/2^(m - 1)], 2],{m, 1, Floor[(n)*Log[2]]}]

MATHEMATICA

Clear[s, k, n] k[n_] := Apply[ Plus, Table[1 - Mod[n - Floor[n/2^m], 2] +Mod[n - Floor[n/2^m], 2]Mod[n - Floor[n/2^(m - 1)], 2], {m, 1, Floor[(n)*Log[2]]}]]; a = Table[k[n], {n, 1, 50}]

CROSSREFS

Cf. A014081.

Sequence in context: A090972 A181742 A179843 * A058729 A021303 A130250

Adjacent sequences:  A136543 A136544 A136545 * A136547 A136548 A136549

KEYWORD

nonn,uned

AUTHOR

Roger L. Bagula (rlbagulatftn(AT)yahoo.com), Mar 24 2008

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

Content is available under The OEIS End-User License Agreement .

Last modified February 13 22:17 EST 2012. Contains 205566 sequences.