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!)
A360536 Analog of Rudin-Shapiro sum sequence A020990, based on counting patterns 00 instead of 11. 1
1, 0, 1, 0, -1, -2, -1, -2, -1, 0, 1, 0, -1, -2, -1, -2, -3, -4, -5, -4, -5, -6, -5, -6, -5, -4, -3, -4, -5, -6, -5, -6, -5, -4, -3, -4, -3, -2, -3, -2, -1, 0, 1, 0, -1, -2, -1, -2, -3, -4, -5, -4, -5, -6, -5, -6, -5, -4, -3, -4, -5, -6, -5, -6, -7, -8, -9 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,6
COMMENTS
a(n) = Sum_{i=0..n} (-1)^(i+e(i)), where e(i) counts the (possibly overlapping) occurrences of 00 in the base-2 representation of n. Note that e(0) = 0. This is the analog of A020990, which is the same sum, but with e(n) replaced by the function that counts the (possibly overlapping) occurrences of 11 in the base-2 representation of n.
LINKS
N. Rampersad and J. Shallit, Rudin-Shapiro sums via automata theory and logic, Arxiv preprint arXiv:2302.00405 [math.NT], February 1 2023.
CROSSREFS
Sequence in context: A123724 A107016 A318702 * A226519 A066057 A060588
KEYWORD
sign
AUTHOR
Jeffrey Shallit, Feb 10 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 July 16 01:40 EDT 2024. Contains 374343 sequences. (Running on oeis4.)