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!)
A214809 A214330 prefixed by a 0 consists of a concatenation of strings 0111010(01)^n, each such string ending with n >= 0 copies of 10; sequence gives successive values of n. 3
2, 1, 0, 4, 0, 3, 0, 0, 1, 1, 3, 1, 6, 4, 0, 0, 0, 4, 2, 0, 1, 2, 4, 2, 1, 1, 0, 0, 7, 0, 0, 3, 0, 1, 0, 8, 1, 5, 0, 0, 3, 1, 0, 1, 0, 0, 1, 1, 4, 0, 0, 1, 1, 0, 0, 0, 0, 3, 1, 1, 2, 0, 2, 2, 0, 1, 5, 1, 3, 2, 0, 0, 4, 0, 0, 1, 2, 5, 8, 6, 4, 11, 3, 8, 0, 0, 1, 0, 6, 4, 2, 1, 0, 0, 2, 9, 5, 1, 0, 0, 2, 0, 0, 3, 3, 1, 5, 3, 2, 7, 5, 0, 4, 0, 5, 0, 1, 1, 2, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
If we change the three initial terms of A214551 (as in A214331 and A214626), again read the sequence mod 2, and decompose the result into strings 0111010(01)^n, will the sequence of values of n have anything in common with the current sequence? Is A214809 in any way characteristic of this family of sequences?
LINKS
N. J. A. Sloane, State diagram [State diagram for A214551 mod 2 for any three initial terms. Nodes are labeled with a(n-2) a(n-1) a(n), edges are labeled with a(n+1).]
EXAMPLE
Let s = 0111010. Then 0, A214330 starts
s1010s10ss10101010ss101010sss10s10s101010s10s101010101010s10101010ssss101\
01010s1010ss10s1010s10101010s1010s10s10sss10101010101010sss101010ss10ss10\
10101010101010s10s1010101010sss101010s10ss10sss10s10s10101010sss10s10ssss\
s101010s10s10s1010ss1010s1010ss10s1010101010s10s101010s1010sss10101010sss\
..., in which the successive numbers of 10's are 2, 1, 0, 4, 0, 3, 0, 0, ...
PROG
(Shell) # Using b-file for A214330, condense 10000 terms into one long string; prefix with 0.
# Using vi, s/0111010/s/g; then s/10/a/g;
# Using tr, break up so that there is one s per line.
# Using awk, count the a's per line.
CROSSREFS
Sequence in context: A130125 A336517 A317552 * A363902 A137336 A115322
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jul 30 2012
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 March 28 16:12 EDT 2024. Contains 371254 sequences. (Running on oeis4.)