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!)
A136545 Semi-chaotic binary digit sum/product sequence modeled on a Rudin-Shapiro-type sequence like A014081. 0
0, 1, 2, 2, 3, 3, 3, 5, 3, 6, 4, 7, 4, 7, 4, 11, 3, 12, 4, 13, 5, 14, 5, 15, 4, 17, 5, 17, 5, 17, 5, 22, 3, 23, 4, 24, 5, 25, 5, 27, 5, 29, 6, 29, 6, 29, 6, 32, 4, 33 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(n)=Sum[1 - 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 - 1)], 2], {m, 1, Floor[(n)*Log[2]]}]]; a = Table[k[n], {n, 1, 50}]
CROSSREFS
Cf. A014081.
Sequence in context: A300944 A301498 A136132 * A125843 A210957 A306246
KEYWORD
nonn,uned
AUTHOR
Roger L. Bagula, Mar 24 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 16:40 EDT 2024. Contains 371916 sequences. (Running on oeis4.)