login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A106688 Six-symbol substitution: characteristic polynomial: x^6 - 4*x^4 - 3*x^3 - x - 1. 0
2, 4, 2, 5, 6, 3, 4, 3, 6, 1, 4, 5, 2, 4, 2, 5, 6, 2, 4, 1, 4, 5, 2, 2, 5, 6, 3, 6, 3, 4, 2, 5, 6, 3, 4, 3, 6, 1, 4, 5, 3, 4, 2, 5, 6, 2, 2, 5, 6, 3, 6, 3, 4, 3, 4, 3, 6, 1, 4, 5, 2, 4, 1, 4, 5, 2, 4, 2, 5, 6, 3, 4, 3, 6, 1, 4, 5, 2, 4, 2, 5, 6, 2, 4, 1, 4, 5, 2, 2, 5, 6, 3, 6, 2, 4, 2, 5, 6, 3, 4, 3, 6, 1, 4, 5 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

Table of n, a(n) for n=0..104.

FORMULA

1->{2}, 2->{3, 4}, 3->{2, 4}, 4->{2, 5, 6}, 5->{3, 6}, 6->{1, 4, 5}

EXAMPLE

[1] -> [2] -> [3,4] -> [2,4,2,5,6] -> [3,4,2,5,6,3,4,3,6,1,4,5] -> ... Lengths of iterates is 1,1,2,5,12,28,... = A034943. - Michael Somos

MATHEMATICA

s[1] = {2}; s[2] = {3, 4}; s[3] = {2, 4}; s[4] = {2, 5, 6}; s[5] = {3, 6}; s[6] = {1, 4, 5}; t[a_] := Flatten[s /@ a]; p[0] = {1}; p[1] = t[p[0]]; p[n_] := t[p[n - 1]] aa = p[7]

PROG

(PARI) {a(n)=local(A); if(n<1, 0, A=[2]; while(length(A)<n|A[1]!=2, A=concat(vector(length(A), k, [[2], [3, 4], [2, 4], [2, 5, 6], [3, 6], [1, 4, 5]][A[k]]))); A[n])} /* Michael Somos, May 16 2005 */

CROSSREFS

Sequence in context: A201562 A190041 A189326 * A167977 A267005 A347796

Adjacent sequences:  A106685 A106686 A106687 * A106689 A106690 A106691

KEYWORD

nonn,uned

AUTHOR

Roger L. Bagula, May 13 2005

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 19 03:31 EDT 2021. Contains 347550 sequences. (Running on oeis4.)