Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A116178
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A116178 Stewart's choral sequence. +0
4
0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1 (list; graph; listen)
OFFSET

0,1

COMMENT

The sequence is cube-free, i.e. it contains no substrings of the form XXX where X is a sequence of 0s and 1s.

The sequence is the same as the infinite binary word w(infty) generated by w(n+1)=w(n)w(n)w*(n), where n is in {0,1,2,...}, w(0)=0, and w*(n) is w(n) with the middle letter changed. (Example: w*(0)=1, w(1)=001, w*(1)=011, w(2)=001001011). - Joel Reyes Noche (joel.noche(AT)up.edu.ph), Mar 24 2008

The sequence is the fixed point of the morphism 0->001, 1->011, starting from a(0) = 0. - Joel Reyes Noche (joel.noche(AT)up.edu.ph), Apr 28 2008

REFERENCES

Ian Stewart, How to Cut a Cake and Other Mathematical Conudrums, Chapter 6.

J.R. Noche, On Stewart's Choral Sequence, Gibon, 8(2008), 1-5. [From Joel Reyes Noche (joel.noche(AT)up.edu.ph), Aug 20 2008]

FORMULA

a(3n) = 0, a(3n-1) = 1 and a(3n+1) = a(n).

G.f.: x^2/(1-x^3) +x^7/(1-x^9) +x^22/(1-x^27) +... . a(-1-n)= 1-a(n). - Michael Somos Apr 17 2007

a(k)=1 if k=3^{m+1}n+(1/2)(5*3^m-1) and a(k)=0 if k=3^{m+1}n+(1/2)(3^m-1) for m,n in {0,1,2,...} - Joel Reyes Noche (joel.noche(AT)up.edu.ph), Mar 24 2008

PROGRAM

(PARI) {a(n)= if(n<0, 1-a(-1-n), if(n%3==0, 0, if(n%3==2, 1, a(n\3))))} /* Michael Somos Apr 17 2007 */

CROSSREFS

Cf. A010060.

Adjacent sequences: A116175 A116176 A116177 this_sequence A116179 A116180 A116181

Sequence in context: A074937 A143518 A122414 this_sequence A028999 A091244 A131378

KEYWORD

easy,nonn

AUTHOR

Richard Forster (gbrl01(AT)yahoo.co.uk), Apr 15 2007

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified October 13 09:05 EDT 2008. Contains 145008 sequences.


AT&T Labs Research