|
| |
|
|
A164349
|
|
The limit of the string "0, 1" under the operation 'repeat string twice and remove last symbol'
|
|
4
| |
|
|
0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,1
|
|
|
COMMENTS
| We start with the string 01, at each step we replace the string by two concatenated copies and remove the last symbol.
01 -> 010 -> 01001 -> 010010100 etc.
Each string consists of 2**n + 1 symbols and clearly after this step the first 2**n + 1 symbols do not change.
Equivalently this sequence is given as follows: a(0) = 0, a(1) = 1, and for n>1, a(n) = first one of g(n), g(g(n)), g(g(g(n))).. etc. to be either 0 or 1, where g(n) = A053645(n-1).
The proportion of 0's in this sequence converges to a number close to 0.645059. The exact nature of this constant is not known. It easy to show there are no 2 consecutive 1's.
Start of the first occurrence of k consecutive zeros: 0, 3, 7, 2046, > 8388600, ..., . [From Robert G. Wilson v (rgwv(AT)rgwv.com), Aug 17 2009]
|
|
|
LINKS
| Robert G. Wilson v, Table of n, a(n) for n = 0..16384 . [From Robert G. Wilson v (rgwv(AT)rgwv.com), Aug 17 2009]
|
|
|
MATHEMATICA
| Nest[ Most@ Flatten@ {#, #} &, {0, 1}, 7] [From Robert G. Wilson v (rgwv(AT)rgwv.com), Aug 17 2009]
|
|
|
PROG
| (Other) #!/usr/bin/perl my $ab = "10"; for (my $j = 1; $j < 30; $j++) { $ab .= $ab; substr $ab, -1, 1, ""; print "$ab\n"; }
|
|
|
CROSSREFS
| Cf. A053645
Sequence in context: A051065 A091445 A091446 * A094186 A003849 A115199
Adjacent sequences: A164346 A164347 A164348 * A164350 A164351 A164352
|
|
|
KEYWORD
| easy,nonn
|
|
|
AUTHOR
| Jack Grahl (jgrahl(AT)math.ucl.ac.uk), Aug 13 2009
|
|
|
EXTENSIONS
| Spelling and notation corrected by Charles R Greathouse IV (charles.greathouse(AT)case.edu), Mar 23 2010
|
| |
|
|