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!)
A189673 Fixed point of the morphism 0->010, 1->110. 3
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, 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, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1
COMMENTS
Is this a shifted version of A137893? - R. J. Mathar, May 16 2011
A generalized choral sequence c(3n+r_0)=0, c(3n+r_1)=1, c(3n+r_c)=c(n), with r_0=2, r_1=1, r_c=0, and c(0)=0. - Joel Reyes Noche, Jun 14 2021
REFERENCES
Joel Reyes Noche, Generalized Choral Sequences, Matimyas Matematika, 31(2008), 25-28.
LINKS
Joel Reyes Noche, On generalized choral sequences, Gibon, IX(2011), 51-69.
FORMULA
a(3k-2)=a(k), a(3k-1)=1, a(3k)=0 for k>=1, a(0)=0.
G.f. satisfies g(x) = x^2/(1-x^3) + g(x^3)/x^2. - Robert Israel, Feb 15 2017
EXAMPLE
0->010->010110010->
MAPLE
f:= proc(n) option remember;
if n mod 3 = 1 then procname((n+2)/3) else -n mod 3 fi;
end proc:
f(1):= 0:
map(f, [$1..200]); # Robert Israel, Feb 15 2017
MATHEMATICA
t = Nest[Flatten[# /. {0->{0, 1, 0}, 1->{1, 1, 0}}] &, {0}, 5] (*A189673*)
f[n_] := t[[n]]
Flatten[Position[t, 0]] (* A026227 conjectured *)
Flatten[Position[t, 1]] (* A026138 conjectured *)
s[n_] := Sum[f[i], {i, 1, n}]; s[0] = 0;
Table[s[n], {n, 1, 120}] (*A189674*)
CROSSREFS
Sequence in context: A284878 A118006 A285196 * A189014 A189017 A189132
KEYWORD
nonn
AUTHOR
Clark Kimberling, Apr 25 2011
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 09:04 EDT 2024. Contains 371240 sequences. (Running on oeis4.)