login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A078711 Sequence is S(infinity), where S(1)={1,2,3}, S(n+1)=S(n)S'(n) and S'(n) is obtained from S(n) by changing last term using the cyclic permutation 1->2->3->1. 2
1, 2, 3, 1, 2, 1, 1, 2, 3, 1, 2, 2, 1, 2, 3, 1, 2, 1, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 1, 1, 2, 3, 1, 2, 2, 1, 2, 3, 1, 2, 1, 1, 2, 3, 1, 2, 1, 1, 2, 3, 1, 2, 1, 1, 2, 3, 1, 2, 2, 1, 2, 3, 1, 2, 1, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 1, 1, 2, 3, 1, 2, 2, 1, 2, 3, 1, 2, 1, 1, 2, 3, 1, 2, 2, 1, 2, 3, 1, 2, 1, 1, 2, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..105.

FORMULA

Limit n ->infty sum(i=1, n, a(i))/n = 37/21; density of 1's is 3/7; density of 2's is 8/21; density of 3's is 4/21.

EXAMPLE

Concatenate 1,2,3 gives 1,2,3,1,2,3, change the last term 3 by 1 gives the 6 first terms : 1,2,3,1,2,1. Concatenate those 6 terms : 1,2,3,1,2,1,1,2,3,1,2,1 replace the last term 1 by 3 gives the 12 first terms : 1,2,3,1,2,1,1,2,3,1,2,2

CROSSREFS

Cf. A010060, A078978, A078979.

Sequence in context: A091654 A127246 A106038 * A295561 A076423 A075660

Adjacent sequences:  A078708 A078709 A078710 * A078712 A078713 A078714

KEYWORD

nonn

AUTHOR

Benoit Cloitre, Dec 19 2002

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 16 17:36 EDT 2018. Contains 316271 sequences. (Running on oeis4.)